Mark tests that require external services (#5474)
Related: #5225 External services are not available when we execute in Helm. - Added a way to mark REST API tests that require external services to run - Changed the way of filtering tests in Helm tests Currently, we can't execute external service mocks in tests, and we ignore related tests in the Helm execution command. But this command may be outdated, because Helm tests are not executed in each PR. This PR allows to indicate related tests and filter them out without the need to synchronize the CI command.main
parent
051f9a9ed8
commit
af65707eee
@ -1,6 +1,11 @@
|
||||
[pytest]
|
||||
required_plugins = pytest-timeout
|
||||
addopts = --verbose --capture=tee-sys
|
||||
|
||||
# We expect no regular individual test to run too long
|
||||
# can be overridden for specific tests with a test decorator
|
||||
timeout = 15
|
||||
|
||||
markers =
|
||||
with_external_services: The test requires services extrernal to the default CVAT deployment, e.g. a Git server etc.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue