Esempio n. 1
0
 def test_create_floatingip(self):
     """
     Test if it creates a new floatingIP
     """
     self.assertTrue(
         neutron.create_floatingip("SALTSTACK", port="800", profile="openstack1")
     )
Esempio n. 2
0
 def test_create_floatingip(self, mock):
     '''
     Test if it creates a new floatingIP
     '''
     self.assertTrue(
         neutron.create_floatingip('SALTSTACK',
                                   port='800',
                                   profile='openstack1'))
Esempio n. 3
0
 def test_create_floatingip(self, mock):
     """
     Test if it creates a new floatingIP
     """
     self.assertTrue(neutron.create_floatingip("SALTSTACK", port="800", profile="openstack1"))
Esempio n. 4
0
 def test_create_floatingip(self, mock):
     '''
     Test if it creates a new floatingIP
     '''
     self.assertTrue(neutron.create_floatingip('SALTSTACK', port='800',
                                               profile='openstack1'))