We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8be3e0 commit d4c1785Copy full SHA for d4c1785
tests/integration/container_test.py
@@ -280,15 +280,14 @@ def test_invalid_log_driver_raises_exception(self):
280
config={}
281
)
282
283
- container = self.client.create_container(
284
- BUSYBOX, ['true'],
285
- host_config=self.client.create_host_config(log_config=log_config)
286
- )
287
-
288
expected_msg = "logger: no log driver named 'asdf-nope' is registered"
289
290
with pytest.raises(docker.errors.APIError) as excinfo:
291
# raises an internal server error 500
+ container = self.client.create_container(
+ BUSYBOX, ['true'], host_config=self.client.create_host_config(
+ log_config=log_config
+ )
292
self.client.start(container)
293
294
assert expected_msg in str(excinfo.value)
0 commit comments