示例#1
0
 def test_update_security_group(self, mock):
     '''
     Test if it updates a security group
     '''
     self.assertTrue(neutron.update_security_group('SALT', 'SALTSTACK',
                                                   'Security group',
                                                   profile='openstack1'))
示例#2
0
 def test_update_security_group(self, mock):
     '''
     Test if it updates a security group
     '''
     self.assertTrue(
         neutron.update_security_group('SALT',
                                       'SALTSTACK',
                                       'Security group',
                                       profile='openstack1'))
示例#3
0
 def test_update_security_group(self):
     """
     Test if it updates a security group
     """
     self.assertTrue(
         neutron.update_security_group(
             "SALT", "SALTSTACK", "Security group", profile="openstack1"
         )
     )
示例#4
0
 def test_update_security_group(self, mock):
     """
     Test if it updates a security group
     """
     self.assertTrue(neutron.update_security_group("SALT", "SALTSTACK", "Security group", profile="openstack1"))