Use docker SDK 2.0
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
635a281777
commit
04e5925a23
11 changed files with 20 additions and 20 deletions
|
|
@ -98,7 +98,7 @@ class ContainerTest(unittest.TestCase):
|
|||
self.assertEqual(container.name_without_project, "custom_name_of_container")
|
||||
|
||||
def test_inspect_if_not_inspected(self):
|
||||
mock_client = mock.create_autospec(docker.Client)
|
||||
mock_client = mock.create_autospec(docker.APIClient)
|
||||
container = Container(mock_client, dict(Id="the_id"))
|
||||
|
||||
container.inspect_if_not_inspected()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue