예제 #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
파일: neutron_test.py 프로젝트: bryson/salt
 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'))