diff options
| author | Honza Pokorny <honza@redhat.com> | 2017-06-21 12:53:38 -0300 |
|---|---|---|
| committer | Honza Pokorny <honza@redhat.com> | 2017-07-05 20:08:18 -0300 |
| commit | ae35a29169ab460cdd5d6b8c26d376c000a5c10e (patch) | |
| tree | dd11ee942ea877cfbeb329b21516e456f3476a83 /openstackclient/tests/functional/object | |
| parent | c0719c36d1a3f268b6bfba4c83aac632f1b546fe (diff) | |
| download | python-openstackclient-ae35a29169ab460cdd5d6b8c26d376c000a5c10e.tar.gz | |
Allow objects to be streamed to stdout
Change-Id: Icd8de6b2122fe77926d93da9bda08f56c3672a7a
Diffstat (limited to 'openstackclient/tests/functional/object')
| -rw-r--r-- | openstackclient/tests/functional/object/v1/test_object.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openstackclient/tests/functional/object/v1/test_object.py b/openstackclient/tests/functional/object/v1/test_object.py index 776cf47c..0927d706 100644 --- a/openstackclient/tests/functional/object/v1/test_object.py +++ b/openstackclient/tests/functional/object/v1/test_object.py @@ -66,6 +66,10 @@ class ObjectTests(base.TestCase): + ' ' + object_file + ' --file ' + tmp_file) # TODO(stevemar): Assert returned fields + raw_output = self.openstack('object save ' + self.CONTAINER_NAME + + ' ' + object_file + ' --file -') + self.assertEqual(raw_output, 'test content') + self.openstack('object show ' + self.CONTAINER_NAME + ' ' + object_file) # TODO(stevemar): Assert returned fields |
