Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348495
D5669.id20260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
489 B
Subscribers
None
D5669.id20260.diff
View Options
diff --git a/swh/web/tests/conftest.py b/swh/web/tests/conftest.py
--- a/swh/web/tests/conftest.py
+++ b/swh/web/tests/conftest.py
@@ -123,13 +123,13 @@
# Fixture to get test client from Django REST Framework
-@pytest.fixture(scope="module")
+@pytest.fixture
def api_client():
return APIClient()
# Fixture to get API request factory from Django REST Framework
-@pytest.fixture(scope="module")
+@pytest.fixture
def api_request_factory():
return APIRequestFactory()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 6:34 PM (5 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218616
Attached To
D5669: origin_save: Store user identifier in SaveOriginRequest model
Event Timeline
Log In to Comment