diff options
Diffstat (limited to 'tests/integration/errors_test.py')
-rw-r--r-- | tests/integration/errors_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/errors_test.py b/tests/integration/errors_test.py index ac74d72..7bf156a 100644 --- a/tests/integration/errors_test.py +++ b/tests/integration/errors_test.py @@ -1,11 +1,11 @@ from docker.errors import APIError -from .base import BaseAPIIntegrationTest, BUSYBOX +from .base import BaseAPIIntegrationTest, TEST_IMG import pytest class ErrorsTest(BaseAPIIntegrationTest): def test_api_error_parses_json(self): - container = self.client.create_container(BUSYBOX, ['sleep', '10']) + container = self.client.create_container(TEST_IMG, ['sleep', '10']) self.client.start(container['Id']) with pytest.raises(APIError) as cm: self.client.remove_container(container['Id']) |