コード例 #1
0
 def test_list_security_groups(self, mock):
     '''
     Test if it fetches a list of all security groups for a tenant
     '''
     self.assertTrue(neutron.list_security_groups(profile='openstack1'))
コード例 #2
0
ファイル: neutron_test.py プロジェクト: dmyerscough/salt
 def test_list_security_groups(self, mock):
     '''
     Test if it fetches a list of all security groups for a tenant
     '''
     self.assertTrue(neutron.list_security_groups(profile='openstack1'))
コード例 #3
0
ファイル: neutron_test.py プロジェクト: bryson/salt
 def test_list_security_groups(self, mock):
     """
     Test if it fetches a list of all security groups for a tenant
     """
     self.assertTrue(neutron.list_security_groups(profile="openstack1"))
コード例 #4
0
 def test_list_security_groups(self):
     """
     Test if it fetches a list of all security groups for a tenant
     """
     self.assertTrue(neutron.list_security_groups(profile="openstack1"))