Skip to content

Commit 5a1b1e7

Browse files
committed
all tests/integration tests are integration tests only
1 parent 1abc7cd commit 5a1b1e7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/integration/conftest.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@ def pytest_configure(config):
3838

3939

4040
def pytest_collection_modifyitems(items):
41-
# safer to refer to fixture fns instead of strings
42-
client_fixtures = [x.__name__ for x in [a, w, ucws, ucacct]]
41+
# All tests defined in tests/integration are considered integration tests.
4342
for item in items:
44-
current_fixtures = getattr(item, "fixturenames", ())
45-
for requires_client in client_fixtures:
46-
if requires_client in current_fixtures:
47-
item.add_marker("integration")
43+
item.add_marker("integration")
4844

4945

5046
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)