Skip to content

Commit bcfc855

Browse files
committed
simpler import example
1 parent fe8eff4 commit bcfc855

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

python/lib/sift_client/_tests/conftest.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,5 @@ def ci_pytest_tag(sift_client):
7878
return tag
7979

8080

81-
from sift_client.util.test_results import (
82-
client_has_connection, # noqa: F401
83-
pytest_addoption, # noqa: F401
84-
pytest_runtest_makereport, # noqa: F401
85-
)
86-
from sift_client.util.test_results import (
87-
module_substep_check_connection as module_substep, # noqa: F401
88-
)
89-
from sift_client.util.test_results import (
90-
report_context_check_connection as report_context, # noqa: F401
91-
)
92-
from sift_client.util.test_results import (
93-
step_check_connection as step, # noqa: F401
94-
)
81+
# Import all test results fixtures the way we expect customers to do.
82+
from sift_client.util.test_results import * # noqa: F403

python/lib/sift_client/util/test_results/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def sift_client() -> SiftClient:
8282
8383
return client
8484
85-
from sift_client.util.test_results import pytest_addoption, pytest_runtest_makereport, report_context, step, module_substep
85+
from sift_client.util.test_results import *
8686
```
8787
8888
###### Then in your test file:

0 commit comments

Comments
 (0)