diff options
Diffstat (limited to 'tests/testutils/constants.py')
-rw-r--r-- | tests/testutils/constants.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/testutils/constants.py b/tests/testutils/constants.py new file mode 100644 index 000000000..e14624143 --- /dev/null +++ b/tests/testutils/constants.py @@ -0,0 +1,15 @@ +# Constants used during BuildStream tests. + + +# Timeout for short interactive operations (in seconds). +# +# Use this for operations that are expected to finish within a short amount of +# time. Like `bst init`, `bst show` on a small project. +PEXPECT_TIMEOUT_SHORT = 5 + + +# Timeout for longer interactive operations (in seconds). +# +# Use this for operations that are expected to take longer amounts of time, +# like `bst build` on a small project. +PEXPECT_TIMEOUT_LONG = 60 |