Пример #1
0
 def test_add_gateway_router(self):
     """
     Test if it adds an external network gateway to the specified router
     """
     self.assertTrue(
         neutron.add_gateway_router("Salt", "SALTSTACK", profile="openstack1")
     )
Пример #2
0
 def test_add_gateway_router(self, mock):
     '''
     Test if it adds an external network gateway to the specified router
     '''
     self.assertTrue(
         neutron.add_gateway_router('Salt',
                                    'SALTSTACK',
                                    profile='openstack1'))
Пример #3
0
 def test_add_gateway_router(self, mock):
     """
     Test if it adds an external network gateway to the specified router
     """
     self.assertTrue(neutron.add_gateway_router("Salt", "SALTSTACK", profile="openstack1"))
Пример #4
0
 def test_add_gateway_router(self, mock):
     '''
     Test if it adds an external network gateway to the specified router
     '''
     self.assertTrue(neutron.add_gateway_router
                     ('Salt', 'SALTSTACK', profile='openstack1'))