Skip to content

Commit f291758

Browse files
committed
fix: imports
1 parent 308625a commit f291758

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

tests_integration/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ in the cf-graph. See the [pytest test definition](test_integration.py) for more
4747
Also, a test case is always bound to one specific feedstock.
4848

4949
### Test Case Definition
50-
To define a test case, create a subclass of `tests_integration.lib.test_case.TestCase` in the `__init__.py` file of
50+
To define a test case, create a subclass of `tests_integration.lib.TestCase` in the `__init__.py` file of
5151
your feedstock. You can name it arbitrarily.
5252
Referring to the minimal `VersionUpdate` test case in the
5353
[pydantic module](definitions/pydantic/__init__.py),
5454
your class has to implement three methods:
5555

5656
1. `get_router()` should return an `APIRouter` object to define mock responses for specific HTTP requests. All web requests are intercepted by an HTTP proxy.
57-
Refer to `tests_integration.lib.shared.get_transparent_urls` to define URLs that should not be intercepted.
57+
Refer to `tests_integration.lib.get_transparent_urls` to define URLs that should not be intercepted.
5858

5959
2. `prepare(helper: IntegrationTestHelper)` for setting up your test case. Usually, you will want to
6060
overwrite the feedstock repository in the test environment. The `IntegrationTestHelper` provides methods to interact

tests_integration/definitions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from tests_integration.definitions import conda_forge_pinning, pydantic
2-
from tests_integration.lib.test_case import TestCase
2+
from tests_integration.lib import TestCase
33

44
TEST_CASE_MAPPING: dict[str, list[TestCase]] = {
55
"conda-forge-pinning": conda_forge_pinning.ALL_TEST_CASES,

tests_integration/definitions/conda_forge_pinning/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
from fastapi import APIRouter
44

5-
from tests_integration.lib.integration_test_helper import IntegrationTestHelper
6-
from tests_integration.lib.test_case import TestCase
5+
from tests_integration.lib import IntegrationTestHelper, TestCase
76

87

98
class SetupPinnings(TestCase):

tests_integration/definitions/pydantic/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
from fastapi import APIRouter
55

6-
from tests_integration.lib.integration_test_helper import IntegrationTestHelper
7-
from tests_integration.lib.test_case import TestCase
6+
from tests_integration.lib import IntegrationTestHelper, TestCase
87

98
PYPI_SIMPLE_API_RESPONSE = json.loads(
109
Path(__file__)

0 commit comments

Comments
 (0)