EB
pytest_plugins = [
"fixtures_api",
"fixtures_ui",
]
где fixtures_api.py и fixtures_ui.py - файлы с фикстурами, лежащие рядом с conftest.py
Size: a a a
EB
pytest_plugins = [
"fixtures_api",
"fixtures_ui",
]
EB
[Step 8/10] test_sandbox.test_components.test_scans_clean.test_sandbox_scan_clean(bat)
[17:14:34][Step 8/10] ERROR
[17:14:34][test_sandbox.test_components.test_scans_clean.test_sandbox_scan_clean(bat)] test setup failed
[17:14:34][test_sandbox.test_components.test_scans_clean.test_sandbox_scan_clean(bat)] ScopeMismatch: You tried to access the 'module' scoped fixture 'rabbitmq' with a 'session' scoped request object, involved factories
../../../../../../tests/conftest.py:286: def static_analyzer(rabbitmq)
../../../../../../tests/test_correlation_rules/conftest.py:84: def rabbitmq(worker_setup, connector)
MA
EB
MA
EB
apiгде под каждую версию апи тестируются те же самые методы, где-то их больше, где-то их меньше. где-то форма запроса POST имеет один требуемый параметр, где-то его нет.
---v1.
------v1.5
------v1.8
---v2.
---v3.
---
---n
EB
MA
EB
MA
MA
D
MA
S
S
AA
EB
V
VH
MR