mirror of https://github.com/docker/docker-py.git
Noqa pytest.raises(Exception)
Signed-off-by: Aarni Koskela <akx@iki.fi>
This commit is contained in:
parent
3948540c89
commit
a9a3775b15
|
|
@ -12,7 +12,7 @@ from .api_test import (
|
||||||
|
|
||||||
class ImageTest(BaseAPIClientTest):
|
class ImageTest(BaseAPIClientTest):
|
||||||
def test_image_viz(self):
|
def test_image_viz(self):
|
||||||
with pytest.raises(Exception):
|
with pytest.raises(Exception): # noqa: B017
|
||||||
self.client.images('busybox', viz=True)
|
self.client.images('busybox', viz=True)
|
||||||
self.fail('Viz output should not be supported!')
|
self.fail('Viz output should not be supported!')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue