diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-11 20:15:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-11 20:15:15 +0000 |
| commit | 5a21eb25558c4820bdf1eec3f0d25fca00e7fd24 (patch) | |
| tree | 856e08cb56868f3168dd1425e090ca2f10350941 /openstackclient/tests | |
| parent | 357d7e75f3835aab4606b88fc28234c23a974353 (diff) | |
| parent | 34812655a5b44623a04fc05f1a6c9110f4afbc25 (diff) | |
| download | python-openstackclient-5a21eb25558c4820bdf1eec3f0d25fca00e7fd24.tar.gz | |
Merge "Add "--incremental" option to "backup create" command in volume v2"
Diffstat (limited to 'openstackclient/tests')
| -rw-r--r-- | openstackclient/tests/volume/v2/test_backup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/tests/volume/v2/test_backup.py b/openstackclient/tests/volume/v2/test_backup.py index ce26a2d6..31bfa64c 100644 --- a/openstackclient/tests/volume/v2/test_backup.py +++ b/openstackclient/tests/volume/v2/test_backup.py @@ -79,6 +79,7 @@ class TestBackupCreate(TestBackup): "--description", self.new_backup.description, "--container", self.new_backup.container, "--force", + "--incremental", "--snapshot", self.new_backup.snapshot_id, self.new_backup.volume_id, ] @@ -87,6 +88,7 @@ class TestBackupCreate(TestBackup): ("description", self.new_backup.description), ("container", self.new_backup.container), ("force", True), + ("incremental", True), ("snapshot", self.new_backup.snapshot_id), ("volume", self.new_backup.volume_id), ] @@ -100,6 +102,7 @@ class TestBackupCreate(TestBackup): name=self.new_backup.name, description=self.new_backup.description, force=True, + incremental=True, snapshot_id=self.new_backup.snapshot_id, ) self.assertEqual(self.columns, columns) @@ -126,6 +129,7 @@ class TestBackupCreate(TestBackup): name=None, description=self.new_backup.description, force=False, + incremental=False, snapshot_id=None, ) self.assertEqual(self.columns, columns) |
