diff options
author | Joffrey F <joffrey@docker.com> | 2018-01-08 18:11:29 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2018-01-23 16:59:09 -0800 |
commit | f95b958429b38dab50929e013db3c636a12e1536 (patch) | |
tree | b8de1cfd18d1c3c932592388143665f446e871f6 /tests/unit | |
parent | bf5e7702df3c835a5db4fc6b86500b4f4b659c14 (diff) | |
download | docker-py-1855-platform-option.tar.gz |
Add support for experimental platform flag in build and pull1855-platform-option
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/models_containers_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/models_containers_test.py b/tests/unit/models_containers_test.py index a479e83..95295a9 100644 --- a/tests/unit/models_containers_test.py +++ b/tests/unit/models_containers_test.py @@ -225,7 +225,7 @@ class ContainerCollectionTest(unittest.TestCase): container = client.containers.run('alpine', 'sleep 300', detach=True) assert container.id == FAKE_CONTAINER_ID - client.api.pull.assert_called_with('alpine', tag=None) + client.api.pull.assert_called_with('alpine', platform=None, tag=None) def test_run_with_error(self): client = make_fake_client() |