Beispiel #1
0
 def test_create_router(self, mock):
     '''
     Test if it creates a new router
     '''
     self.assertTrue(neutron.create_router('SALT',
                                           '192.168.1.0',
                                           admin_state_up=True,
                                           profile='openstack1'))
Beispiel #2
0
 def test_create_router(self, mock):
     '''
     Test if it creates a new router
     '''
     self.assertTrue(
         neutron.create_router('SALT',
                               '192.168.1.0',
                               admin_state_up=True,
                               profile='openstack1'))
Beispiel #3
0
 def test_create_router(self):
     """
     Test if it creates a new router
     """
     self.assertTrue(
         neutron.create_router(
             "SALT", "192.168.1.0", admin_state_up=True, profile="openstack1"
         )
     )
Beispiel #4
0
 def test_create_router(self, mock):
     """
     Test if it creates a new router
     """
     self.assertTrue(neutron.create_router("SALT", "192.168.1.0", admin_state_up=True, profile="openstack1"))