Ejemplo n.º 1
0
 def test_update_subnet(self, mock):
     '''
     Test if it updates a subnet
     '''
     self.assertTrue(neutron.update_subnet('255.255.255.0',
                                           name='Salt',
                                           profile='openstack1'))
Ejemplo n.º 2
0
 def test_update_subnet(self):
     """
     Test if it updates a subnet
     """
     self.assertTrue(
         neutron.update_subnet("255.255.255.0", name="Salt", profile="openstack1")
     )
Ejemplo n.º 3
0
 def test_update_subnet(self, mock):
     '''
     Test if it updates a subnet
     '''
     self.assertTrue(
         neutron.update_subnet('255.255.255.0',
                               name='Salt',
                               profile='openstack1'))
Ejemplo n.º 4
0
 def test_update_subnet(self, mock):
     """
     Test if it updates a subnet
     """
     self.assertTrue(neutron.update_subnet("255.255.255.0", name="Salt", profile="openstack1"))