summaryrefslogtreecommitdiffstats
path: root/docs/how-to-use
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-05-12 13:59:04 -0600
committerspisarski <s.pisarski@cablelabs.com>2017-05-16 14:21:56 -0600
commit10c665d7c831cf198ac9e675654693860e602bf9 (patch)
treeb30f75115e80ddc983b9e3555b165992cef234c1 /docs/how-to-use
parent6fd1af82cd7bf41274c4e1620006004b79628759 (diff)
Added support for offline testing
Expanded the image_metadata used by the tests for overriding default images for not only supporting 3part images but also to support offline testing as required by Functest. JIRA: SNAPS-67 Change-Id: I6975e7b51fa879fe984af64402939c465df95184 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'docs/how-to-use')
-rw-r--r--docs/how-to-use/IntegrationTests.rst18
1 files changed, 5 insertions, 13 deletions
diff --git a/docs/how-to-use/IntegrationTests.rst b/docs/how-to-use/IntegrationTests.rst
index 16f2a1c..ec549cf 100644
--- a/docs/how-to-use/IntegrationTests.rst
+++ b/docs/how-to-use/IntegrationTests.rst
@@ -56,6 +56,10 @@ create_image_tests.py - CreateImageSuccessTests
| test_create_same_image | 1 | Ensures the OpenStackImage.create() method does not create|
| | | another image when one already exists with the same name |
+---------------------------------------+---------------+-----------------------------------------------------------+
+| test_create_same_image_new_settings | 1 | Tests the creation of an OpenStack image when the image |
+| | | already exists and the configuration only contains the |
+| | | the name. |
++---------------------------------------+---------------+-----------------------------------------------------------+
create_image_tests.py - CreateImageNegativeTests
------------------------------------------------
@@ -63,7 +67,7 @@ create_image_tests.py - CreateImageNegativeTests
+---------------------------------------+---------------+-----------------------------------------------------------+
| Test Name | Glance API | Description |
+=======================================+===============+===========================================================+
-| test_none_image_name | 1 | Ensures OpenStackImage.create() results in an Exception |
+| test_bad_image_name | 1 | Ensures OpenStackImage.create() results in an Exception |
| | | being raised when the ImageSettings.name attribute has |
| | | not been set |
+---------------------------------------+---------------+-----------------------------------------------------------+
@@ -73,18 +77,6 @@ create_image_tests.py - CreateImageNegativeTests
| test_bad_image_file | 1 | Ensures OpenStackImage.create() results in an Exception |
| | | being raised when the image file does not exist |
+---------------------------------------+---------------+-----------------------------------------------------------+
-| test_none_proj_name | 1 | Ensures OpenStackImage.create() results in an Exception |
-| | | being raised when the credentials project name is None |
-+---------------------------------------+---------------+-----------------------------------------------------------+
-| test_none_auth_url | 1 | Ensures OpenStackImage.create() results in an Exception |
-| | | being raised when the credentials URL is None |
-+---------------------------------------+---------------+-----------------------------------------------------------+
-| test_none_password | 1 | Ensures OpenStackImage.create() results in an Exception |
-| | | being raised when the credentials password is None |
-+---------------------------------------+---------------+-----------------------------------------------------------+
-| test_none_user | 1 | Ensures OpenStackImage.create() results in an Exception |
-| | | being raised when the credentials user is None |
-+---------------------------------------+---------------+-----------------------------------------------------------+
create_image_tests.py - CreateMultiPartImageTests
-------------------------------------------------