Esempio n. 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'))
Esempio n. 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'))
Esempio n. 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"))
Esempio n. 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"))