Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-loader-git-old
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Dandrimont
swh-loader-git-old
Commits
2fda322b
Commit
2fda322b
authored
2 years ago
by
vlorentz
Browse files
Options
Downloads
Patches
Plain Diff
Fix test broken by removal of store_metadata.
parent
4281899e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/loader/git/tests/test_from_disk.py
+2
-2
2 additions, 2 deletions
swh/loader/git/tests/test_from_disk.py
with
2 additions
and
2 deletions
swh/loader/git/tests/test_from_disk.py
+
2
−
2
View file @
2fda322b
...
...
@@ -188,9 +188,9 @@ class CommonGitLoaderTests:
def
test_load_visit_with_snapshot_so_status_partial
(
self
):
# unfortunately, monkey-patch the hard way, self.loader is already instantiated
# (patching won't work self.loader is already instantiated)
# fake store_
meta
data raising for some reason, so we could have a snapshot id
# fake store_data raising for some reason, so we could have a snapshot id
# at this point in time
self
.
loader
.
store_
meta
data
=
None
self
.
loader
.
store_data
=
None
# fake having a snapshot so the visit status is partial
self
.
loader
.
loaded_snapshot_id
=
hash_to_bytes
(
"
a23699280a82a043f8c0994cf1631b568f716f95
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment