Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P798
GitLoaderFromArchive config fix
Active
Public
Actions
Authored by
anlambert
on Oct 2 2020, 3:01 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/swh/web/tests/data.py b/swh/web/tests/data.py
index 873205b3..d0759c17 100644
--- a/swh/web/tests/data.py
+++ b/swh/web/tests/data.py
@@ -178,10 +178,9 @@ def _init_tests_data():
os.path.dirname(__file__), "resources/repos/%s" % archive
)
loader = GitLoaderFromArchive(
- origin["url"],
- archive_path=origin_repo_archive,
- config=_TEST_LOADER_CONFIG,
+ origin["url"], archive_path=origin_repo_archive,
)
+ loader.config = _TEST_LOADER_CONFIG
if storage is None:
storage = loader.storage
else:
Event Timeline
anlambert
created this paste.
Oct 2 2020, 3:01 PM
2020-10-02 15:01:25 (UTC+2)
Log In to Comment