示例#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'))
示例#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")
     )
示例#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"))
示例#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'))