mirror of https://github.com/docker/docker-py.git
Merge pull request #1490 from ripcurld0/change_rm_error_msg
Update assert in test_create_with_restart_policy
This commit is contained in:
commit
4a08d04aef
|
@ -122,7 +122,7 @@ class CreateContainerTest(BaseAPIIntegrationTest):
|
|||
self.client.remove_container(id)
|
||||
err = exc.exception.explanation
|
||||
self.assertIn(
|
||||
'You cannot remove a running container', err
|
||||
'You cannot remove ', err
|
||||
)
|
||||
self.client.remove_container(id, force=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue