8000 ✅ Simplify tests for `dependency_testing` by alv2017 · Pull Request #13223 · fastapi/fastapi · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_tutorial001.py
  • Loading branch information
alejsdev authored Feb 15, 2025
commit c5fa87418bde6e35df6058e7a32f3177e9d7459d
4 changes: 1 addition & 3 deletions tests/test_tutorial/test_testing_dependencies/test_tutorial001.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

from ...utils import needs_py39, needs_py310

doc_module = "docs_src.dependency_testing"


@pytest.fixture(
name="test_module",
Expand All @@ -19,7 +17,7 @@
],
)
def get_test_module(request: pytest.FixtureRequest) -> ModuleType:
mod: ModuleType = importlib.import_module(f"{doc_module}.{request.param}")
mod: ModuleType = importlib.import_module(f"docs_src.dependency_testing.{request.param}")
return mod


Expand Down
Loading
0