summaryrefslogtreecommitdiffstats
path: root/snaps/test_suite_builder.py
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-07-11 12:08:53 -0600
committerspisarski <s.pisarski@cablelabs.com>2017-07-11 12:54:46 -0600
commit589f587b9139b84437d1b7e8cb017018fc9a4e06 (patch)
tree3064f18ec710d09fa22daf133036d1607a979f7a /snaps/test_suite_builder.py
parent5f3fe6856f07bd1289bac532264eccf6cba68d77 (diff)
Created domain classes for security groups.
Created SecurityGroup and SecurityGroupRule classes so the neutron_utils for security groups will be returning objects of these types instead of the OpenStack objects returned by the API calls. JIRA: SNAPS-116 Change-Id: I76ed1f85f7d54b984fc6f6ac28cee7680a1109e5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'snaps/test_suite_builder.py')
-rw-r--r--snaps/test_suite_builder.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/snaps/test_suite_builder.py b/snaps/test_suite_builder.py
index 2187f94..1ab96c1 100644
--- a/snaps/test_suite_builder.py
+++ b/snaps/test_suite_builder.py
@@ -19,10 +19,12 @@ import unittest
from snaps.domain.test.flavor_tests import FlavorDomainObjectTests
from snaps.domain.test.image_tests import ImageDomainObjectTests
from snaps.domain.test.keypair_tests import KeypairDomainObjectTests
+from snaps.domain.test.network_tests import (
+ SecurityGroupDomainObjectTests, SecurityGroupRuleDomainObjectTests)
from snaps.domain.test.stack_tests import StackDomainObjectTests
from snaps.domain.test.user_tests import UserDomainObjectTests
-from snaps.domain.test.vm_inst_tests import (VmInstDomainObjectTests,
- FloatingIpDomainObjectTests)
+from snaps.domain.test.vm_inst_tests import (
+ VmInstDomainObjectTests, FloatingIpDomainObjectTests)
from snaps.openstack.tests.conf.os_credentials_tests import (
ProxySettingsUnitTests, OSCredsUnitTests)
from snaps.openstack.tests.create_flavor_tests import (
@@ -92,6 +94,10 @@ def add_unit_tests(suite):
suite.addTest(unittest.TestLoader().loadTestsFromTestCase(
SecurityGroupSettingsUnitTests))
suite.addTest(unittest.TestLoader().loadTestsFromTestCase(
+ SecurityGroupDomainObjectTests))
+ suite.addTest(unittest.TestLoader().loadTestsFromTestCase(
+ SecurityGroupRuleDomainObjectTests))
+ suite.addTest(unittest.TestLoader().loadTestsFromTestCase(
ImageSettingsUnitTests))
suite.addTest(unittest.TestLoader().loadTestsFromTestCase(
ImageDomainObjectTests))