Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External files ingest as "related" links (#958) and show them in sidebar (#959) #1002

Merged
merged 11 commits into from
Jan 2, 2024
Prev Previous commit
Next Next commit
Fix failing test: check any, not first (#958)
  • Loading branch information
blms committed Dec 5, 2023
commit 6990da879b82eca570c1be77cd9d3c0e8d45dc04
4 changes: 2 additions & 2 deletions apps/ingest/tests/test_services.py
Original file line number Diff line number Diff line change
@@ -90,8 +90,8 @@ def test_adding_related_link_to_remote_ingest_manifest(self):
remote_url='https://swoop.net/manifest.json' # pylint: disable=line-too-long
)
manifest = services.create_manifest(remote)
related_link = manifest.relatedlink_set.first()
assert related_link.link == remote.remote_url
related_links = manifest.relatedlink_set.all()
assert any([link.link == remote.remote_url for link in related_links])

httpretty.disable()