mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
Async tests and fixtures in the topology directory are expected to run with pytest_asyncio (not other async frameworks). Force this with auto mode. CI has an older pytest_asyncio version lacking pytest_asyncio.fixture. Auto mode helps avoiding the need of it and tests and fixtures can just be marked with regular @pytest.mark.async. This way tests can run in both older and newer versions of the packages. Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com>
8 lines
302 B
INI
8 lines
302 B
INI
# Pytest configuration file. If we don't have one in this directory,
|
|
# pytest will look for one in our ancestor directories, and may find
|
|
# something irrelevant. So we should have one here, even if empty.
|
|
[pytest]
|
|
# Use shared fixtures from the parent dir
|
|
addopts = --confcutdir ..
|
|
asyncio_mode = auto
|