Skip to content

Commit

Permalink
#87 Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok Saldanha authored and Alok Saldanha committed Mar 2, 2024
1 parent 35c8e81 commit c4b9084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_filecrawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_GIVEN_annotation_THEN_escaped(self):
rendered = render_item(entry, source)
self.assertIn(
"> | annotations: <a class='new' href='/source/Files:/tmp/view/somepath/entry_annotations'>new</a>,"
" <a href='/source/Files:/tmp/view/somepath/entry_annotations/hot%26cold.csv/'>hot&amp;cold</a></li>",
" <a href='/source/Files:/tmp/view/somepath/entry_annotations/hot&cold.csv/'>hot&amp;cold</a></li>",
rendered,
)

Expand Down Expand Up @@ -119,7 +119,7 @@ def test_GIVEN_deep_nested_dirs_THEN_includes_dirs_in_output(self, item_source):
rendered,
"<li><a href='/filecrawl/foo/bar/baz?source=FakeSource'>baz</a><ul>"
"<li> <a href='/source/FakeSource/view/foo/bar/baz/file.h5ad/'>file.h5ad</a>"
" | annotations: <a class='new' href='/source/FakeSource/view/FakeAnnotations'>new</a>"
" | annotations: <a class='new' href='/source/FakeSource/view/FakeAnnotations'>new</a>"
"</li></ul></li>",
)

Expand Down

0 comments on commit c4b9084

Please sign in to comment.