Skip to content

Commit

Permalink
#87 blacken
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 c1111e2 commit 4e63ff9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_filecrawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_GIVEN_path_no_slash_THEN_view_has_single_slash(self):


class TestRenderAnnotation(unittest.TestCase):
@patch('cellxgene_gateway.filecrawl.enable_annotations', new=True)
@patch("cellxgene_gateway.filecrawl.enable_annotations", new=True)
def test_GIVEN_no_annotation_THEN_new_alone(self):
entry = make_entry(annotations=None)
rendered = render_item(entry, source)
Expand All @@ -56,7 +56,7 @@ def test_GIVEN_no_annotation_THEN_new_alone(self):
rendered,
)

@patch('cellxgene_gateway.filecrawl.enable_annotations', new=True)
@patch("cellxgene_gateway.filecrawl.enable_annotations", new=True)
def test_GIVEN_annotation_THEN_new_before(self):
annotation = FileItem(
subpath="somepath/entry_annotations",
Expand All @@ -71,8 +71,8 @@ def test_GIVEN_annotation_THEN_new_before(self):
" <a href='/source/Files:/tmp/view/somepath/entry_annotations/annot.csv/'>annot</a></li>",
rendered,
)
@patch('cellxgene_gateway.filecrawl.enable_annotations', new=True)

@patch("cellxgene_gateway.filecrawl.enable_annotations", new=True)
def test_GIVEN_annotation_THEN_escaped(self):
annotation = FileItem(
subpath="somepath/entry_annotations",
Expand Down

0 comments on commit 4e63ff9

Please sign in to comment.