Beispiel #1
0
 def test_create_security_group_rule(self, mock):
     '''
     Test if it creates a new security group rule
     '''
     self.assertTrue(
         neutron.create_security_group_rule('SALTSTACK',
                                            profile='openstack1'))
Beispiel #2
0
 def test_create_security_group_rule(self):
     """
     Test if it creates a new security group rule
     """
     self.assertTrue(
         neutron.create_security_group_rule("SALTSTACK", profile="openstack1")
     )
Beispiel #3
0
 def test_create_security_group_rule(self, mock):
     """
     Test if it creates a new security group rule
     """
     self.assertTrue(neutron.create_security_group_rule("SALTSTACK", profile="openstack1"))
Beispiel #4
0
 def test_create_security_group_rule(self, mock):
     '''
     Test if it creates a new security group rule
     '''
     self.assertTrue(neutron.create_security_group_rule
                     ('SALTSTACK', profile='openstack1'))