summaryrefslogtreecommitdiff
path: root/functional/tests/test_examples.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-11-17 06:01:32 +0000
committerGerrit Code Review <review@openstack.org>2014-11-17 06:01:32 +0000
commita9670b4cf0d2f8e98e62c25e6379311ef66ea01b (patch)
tree124de3a76614092186c1f66e3d302abcbf1c1fe3 /functional/tests/test_examples.py
parentb4ca5cc9c174494a392ff70f5631ac51e0103e30 (diff)
parent01a5ff6d3234457fd0f8268be13fca487a1793c2 (diff)
downloadpython-openstackclient-a9670b4cf0d2f8e98e62c25e6379311ef66ea01b.tar.gz
Merge "Add more session/api examples"
Diffstat (limited to 'functional/tests/test_examples.py')
-rw-r--r--functional/tests/test_examples.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/functional/tests/test_examples.py b/functional/tests/test_examples.py
index fdaa26b8..6e0e5867 100644
--- a/functional/tests/test_examples.py
+++ b/functional/tests/test_examples.py
@@ -20,3 +20,9 @@ class ExampleTests(test.TestCase):
# NOTE(stevemar): If an examples has a non-zero return
# code, then execute will raise an error by default.
test.execute('python', test.EXAMPLE_DIR + '/common.py --debug')
+
+ def test_object_api(self):
+ test.execute('python', test.EXAMPLE_DIR + '/object_api.py --debug')
+
+ def test_osc_lib(self):
+ test.execute('python', test.EXAMPLE_DIR + '/osc-lib.py --debug')