diff options
| author | WojciechowskiPiotr <devel@it-playground.pl> | 2021-02-09 21:37:26 +0100 |
|---|---|---|
| committer | WojciechowskiPiotr <devel@it-playground.pl> | 2021-02-09 21:37:26 +0100 |
| commit | 6d1dffe3e5738ebe02294c795a7e5e630f7913c2 (patch) | |
| tree | b88a79406b770ec509ebd4a7b4530efceacdf4fa /tests/unit | |
| parent | 514f98a0d69c9350d8f19088e571ddbebfe89b5e (diff) | |
| download | docker-py-6d1dffe3e5738ebe02294c795a7e5e630f7913c2.tar.gz | |
Unit and integration tests added
Signed-off-by: WojciechowskiPiotr <devel@it-playground.pl>
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/models_services_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/models_services_test.py b/tests/unit/models_services_test.py index a4ac50c..07bb589 100644 --- a/tests/unit/models_services_test.py +++ b/tests/unit/models_services_test.py @@ -28,6 +28,7 @@ class CreateServiceKwargsTest(unittest.TestCase): 'constraints': ['foo=bar'], 'preferences': ['bar=baz'], 'platforms': [('x86_64', 'linux')], + 'maxreplicas': 1 }) task_template = kwargs.pop('task_template') @@ -47,6 +48,7 @@ class CreateServiceKwargsTest(unittest.TestCase): 'Constraints': ['foo=bar'], 'Preferences': ['bar=baz'], 'Platforms': [{'Architecture': 'x86_64', 'OS': 'linux'}], + 'MaxReplicas': 1, } assert task_template['LogDriver'] == { 'Name': 'logdriver', |
