예제 #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'))
예제 #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")
     )
예제 #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'))
예제 #4
0
파일: neutron_test.py 프로젝트: bryson/salt
 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"))