コード例 #1
0
ファイル: neutron_test.py プロジェクト: dmyerscough/salt
 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'))
コード例 #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'))
コード例 #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"))
コード例 #4
0
ファイル: neutron_test.py プロジェクト: bryson/salt
 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"))