diff options
Diffstat (limited to 'saharaclient/tests/unit/osc/v1/test_clusters.py')
-rw-r--r-- | saharaclient/tests/unit/osc/v1/test_clusters.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/saharaclient/tests/unit/osc/v1/test_clusters.py b/saharaclient/tests/unit/osc/v1/test_clusters.py index ba48993..1bc0dd3 100644 --- a/saharaclient/tests/unit/osc/v1/test_clusters.py +++ b/saharaclient/tests/unit/osc/v1/test_clusters.py @@ -376,9 +376,7 @@ class TestUpdateCluster(TestClusters): self.cmd.take_action(parsed_args) # Check that correct arguments were passed - self.cl_mock.update.assert_called_once_with( - 'cluster_id', description=None, is_protected=None, is_public=None, - name=None, shares=None) + self.cl_mock.update.assert_called_once_with('cluster_id') def test_cluster_update_all_options(self): arglist = ['fake', '--name', 'fake', '--description', 'descr', @@ -395,7 +393,7 @@ class TestUpdateCluster(TestClusters): # Check that correct arguments were passed self.cl_mock.update.assert_called_once_with( 'cluster_id', description='descr', is_protected=True, - is_public=True, name='fake', shares=None) + is_public=True, name='fake') # Check that columns are correct expected_columns = ('Anti affinity', 'Cluster template id', @@ -425,8 +423,7 @@ class TestUpdateCluster(TestClusters): # Check that correct arguments were passed self.cl_mock.update.assert_called_once_with( - 'cluster_id', description=None, is_protected=False, - is_public=False, name=None, shares=None) + 'cluster_id', is_protected=False, is_public=False) class TestScaleCluster(TestClusters): |