diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-01-11 23:37:00 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-01-11 23:37:00 +0000 |
| commit | 2fb5ac0cc44352aeb102b54b7e15de657202faf9 (patch) | |
| tree | dd59ca02f855f7bea07648320eb16c3193fe1243 /openstackclient/tests/functional/base.py | |
| parent | 3c031bbb6873db077ae155ddf7d31d19b712c26f (diff) | |
| parent | 6b114cd98f4a1bc95cb8702db02eeb625be6b3e7 (diff) | |
| download | python-openstackclient-2fb5ac0cc44352aeb102b54b7e15de657202faf9.tar.gz | |
Merge "Add support for Network QoS rule commands"
Diffstat (limited to 'openstackclient/tests/functional/base.py')
| -rw-r--r-- | openstackclient/tests/functional/base.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py index 885abc02..fb78ea62 100644 --- a/openstackclient/tests/functional/base.py +++ b/openstackclient/tests/functional/base.py @@ -77,6 +77,11 @@ class TestCase(testtools.TestCase): if expected not in actual: raise Exception(expected + ' not in ' + actual) + @classmethod + def assertsOutputNotNone(cls, observed): + if observed is None: + raise Exception('No output observed') + def assert_table_structure(self, items, field_names): """Verify that all items have keys listed in field_names.""" for item in items: |
