diff options
author | Joffrey F <joffrey@docker.com> | 2017-05-11 17:44:23 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2017-05-12 14:28:27 -0700 |
commit | 95297dc2e760b992d7d31d485a66d02728944f36 (patch) | |
tree | 5ef3893b1c2850a6dd5d9f0db3f9bd6cde55f586 /tests/unit/models_containers_test.py | |
parent | 007ab677a1ff7748596ca7703ad05d89a4c881cd (diff) | |
download | docker-py-1433-run-networks.tar.gz |
Replace erroneous networks argument in containers.run with singular1433-run-networks
network equivalent.
Small docfixes
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'tests/unit/models_containers_test.py')
-rw-r--r-- | tests/unit/models_containers_test.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/models_containers_test.py b/tests/unit/models_containers_test.py index 0fb69f3..70c8648 100644 --- a/tests/unit/models_containers_test.py +++ b/tests/unit/models_containers_test.py @@ -71,8 +71,7 @@ class ContainerCollectionTest(unittest.TestCase): memswap_limit=456, name='somename', network_disabled=False, - network_mode='blah', - networks=['foo'], + network='foo', oom_kill_disable=True, oom_score_adj=5, pid_mode='host', @@ -153,7 +152,7 @@ class ContainerCollectionTest(unittest.TestCase): 'MemoryReservation': 123, 'MemorySwap': 456, 'MemorySwappiness': 2, - 'NetworkMode': 'blah', + 'NetworkMode': 'foo', 'OomKillDisable': True, 'OomScoreAdj': 5, 'PidMode': 'host', |