diff options
author | spisarski <s.pisarski@cablelabs.com> | 2017-07-13 09:02:40 -0600 |
---|---|---|
committer | spisarski <s.pisarski@cablelabs.com> | 2017-07-13 09:02:40 -0600 |
commit | 7f989290a14c836b4982e1548d24c9c09f9a0068 (patch) | |
tree | 838f47b7af5137f5b0dd1b841a70642d7169e783 /snaps/test_suite_builder.py | |
parent | e6326cd5e826d19e4dd2b096c17aff35da1757b3 (diff) |
Created domain class for routers.
Created Router domain class so neutron_utils.py functions returning
router objects will not be leaking out implementation details as each
API version can change these data structures and this should all be
handled by the SNAPS neutron utility.
JIRA: SNAPS-115 & SNAPS-14
Change-Id: Ib6d36a735d835a6ed4ede489b14e33a261458fed
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'snaps/test_suite_builder.py')
-rw-r--r-- | snaps/test_suite_builder.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/snaps/test_suite_builder.py b/snaps/test_suite_builder.py index ab044e9..f90c0f4 100644 --- a/snaps/test_suite_builder.py +++ b/snaps/test_suite_builder.py @@ -21,7 +21,8 @@ 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, - PortDomainObjectTests) + PortDomainObjectTests, RouterDomainObjectTests, + InterfaceRouterDomainObjectTests) from snaps.domain.test.project_tests import ProjectDomainObjectTests from snaps.domain.test.stack_tests import StackDomainObjectTests from snaps.domain.test.user_tests import UserDomainObjectTests @@ -50,7 +51,8 @@ from snaps.openstack.tests.create_project_tests import ( CreateProjectSuccessTests, ProjectSettingsUnitTests, CreateProjectUserTests) from snaps.openstack.tests.create_router_tests import ( - CreateRouterSuccessTests, CreateRouterNegativeTests) + CreateRouterSuccessTests, CreateRouterNegativeTests, + RouterSettingsUnitTests) from snaps.openstack.tests.create_security_group_tests import ( CreateSecurityGroupTests, SecurityGroupRuleSettingsUnitTests, SecurityGroupSettingsUnitTests) @@ -128,6 +130,12 @@ def add_unit_tests(suite): suite.addTest(unittest.TestLoader().loadTestsFromTestCase( PortDomainObjectTests)) suite.addTest(unittest.TestLoader().loadTestsFromTestCase( + RouterSettingsUnitTests)) + suite.addTest(unittest.TestLoader().loadTestsFromTestCase( + RouterDomainObjectTests)) + suite.addTest(unittest.TestLoader().loadTestsFromTestCase( + InterfaceRouterDomainObjectTests)) + suite.addTest(unittest.TestLoader().loadTestsFromTestCase( FloatingIpSettingsUnitTests)) suite.addTest(unittest.TestLoader().loadTestsFromTestCase( VmInstanceSettingsUnitTests)) |