diff options
| author | Ulysses Souza <ulysses.souza@docker.com> | 2020-07-02 10:51:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-02 10:51:35 +0200 |
| commit | 74a0734d37f92b6d812b1df0f46537c9fa72eeb7 (patch) | |
| tree | 072a6f2e694b5d9fdcdb00f4b777b9cac44a344e /tests/unit | |
| parent | d3adac90274045291b4e06209dc5daa4160ca43d (diff) | |
| parent | df7bf5f5e0a5baafbbf5b88638c09abfd288f686 (diff) | |
| download | docker-py-74a0734d37f92b6d812b1df0f46537c9fa72eeb7.tar.gz | |
Merge pull request #2551 from haboustak/2550-add-driveropts-to-endpointconfig
Add support for DriverOpts in EndpointConfig
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/api_network_test.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/api_network_test.py b/tests/unit/api_network_test.py index c78554d..758f013 100644 --- a/tests/unit/api_network_test.py +++ b/tests/unit/api_network_test.py @@ -136,7 +136,8 @@ class NetworkTest(BaseAPIClientTest): container={'Id': container_id}, net_id=network_id, aliases=['foo', 'bar'], - links=[('baz', 'quux')] + links=[('baz', 'quux')], + driver_opt={'com.docker-py.setting': 'yes'}, ) assert post.call_args[0][0] == ( @@ -148,6 +149,7 @@ class NetworkTest(BaseAPIClientTest): 'EndpointConfig': { 'Aliases': ['foo', 'bar'], 'Links': ['baz:quux'], + 'DriverOpts': {'com.docker-py.setting': 'yes'}, }, } |
