Exemple #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'))
Exemple #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'))
Exemple #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"
         )
     )
Exemple #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"))