Exemple #1
0
 def test_create_security_group(self, mock):
     '''
     Test if it creates a new security group
     '''
     self.assertTrue(neutron.create_security_group('SALTSTACK',
                                                   'Security group',
                                                   profile='openstack1'))
Exemple #2
0
 def test_create_security_group(self, mock):
     '''
     Test if it creates a new security group
     '''
     self.assertTrue(
         neutron.create_security_group('SALTSTACK',
                                       'Security group',
                                       profile='openstack1'))
Exemple #3
0
 def test_create_security_group(self):
     """
     Test if it creates a new security group
     """
     self.assertTrue(
         neutron.create_security_group("SALTSTACK",
                                       "Security group",
                                       profile="openstack1"))
Exemple #4
0
 def test_create_security_group(self, mock):
     """
     Test if it creates a new security group
     """
     self.assertTrue(neutron.create_security_group("SALTSTACK", "Security group", profile="openstack1"))