diff options
author | Steven Pisarski <s.pisarski@cablelabs.com> | 2017-08-07 14:33:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-07 14:33:18 +0000 |
commit | f3bfd3d092cf7122ade96b645c59101b9de3074d (patch) | |
tree | 4151e47b0265b2292f8ad246bdb3cd9b0f510469 /snaps/openstack/tests | |
parent | 2ac22f4647ab776f0c19180886bf3fc04e687368 (diff) | |
parent | a5c556141ec9123422a5f372545219b5bb0a59ee (diff) |
Merge "Refactored port retrieval to include PortSettigs."
Diffstat (limited to 'snaps/openstack/tests')
-rw-r--r-- | snaps/openstack/tests/create_router_tests.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/snaps/openstack/tests/create_router_tests.py b/snaps/openstack/tests/create_router_tests.py index 6e10d66..6f37445 100644 --- a/snaps/openstack/tests/create_router_tests.py +++ b/snaps/openstack/tests/create_router_tests.py @@ -326,6 +326,13 @@ class CreateRouterSuccessTests(OSIntegrationTestCase): self.assertTrue(verify_router_attributes(router, self.router_creator)) + # Instantiate second identical creator to ensure a second router + # has not been created + router_creator2 = create_router.OpenStackRouter( + self.os_creds, router_settings) + router2 = router_creator2.create() + self.assertIsNotNone(self.router_creator.get_router(), router2) + def test_create_router_external_network(self): """ Test creation of a router connected to an external network and a |