mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-10-11 06:00:55 +08:00
#87 Fix test
This commit is contained in:
@@ -81,7 +81,7 @@ class TestRenderAnnotation(unittest.TestCase):
|
|||||||
rendered = render_item(entry, source)
|
rendered = render_item(entry, source)
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
"> | annotations: <a class='new' href='/source/Files:/tmp/view/somepath/entry_annotations'>new</a>,"
|
"> | 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&cold</a></li>",
|
" <a href='/source/Files:/tmp/view/somepath/entry_annotations/hot&cold.csv/'>hot&cold</a></li>",
|
||||||
rendered,
|
rendered,
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ class TestRenderItemTree(unittest.TestCase):
|
|||||||
rendered,
|
rendered,
|
||||||
"<li><a href='/filecrawl/foo/bar/baz?source=FakeSource'>baz</a><ul>"
|
"<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>"
|
"<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>",
|
"</li></ul></li>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user