Skip to content

Commit

Permalink
Noqa pytest.raises(Exception)
Browse files Browse the repository at this point in the history
Signed-off-by: Aarni Koskela <akx@iki.fi>
  • Loading branch information
akx committed Jun 6, 2023
1 parent 86d47b8 commit 03abdc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/api_image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class ImageTest(BaseAPIClientTest):
def test_image_viz(self):
with pytest.raises(Exception):
with pytest.raises(Exception): # noqa: B017
self.client.images('busybox', viz=True)
self.fail('Viz output should not be supported!')

Expand Down

0 comments on commit 03abdc7

Please sign in to comment.