コード例 #1
0
 def test_resource_mapping(self):
     mapping = project.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(project.KeystoneProject, mapping[RESOURCE_TYPE])
     self.assertIsInstance(self.test_project, project.KeystoneProject)
コード例 #2
0
 def test_resource_mapping(self):
     mapping = project.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(project.KeystoneProject, mapping[RESOURCE_TYPE])
     self.assertIsInstance(self.test_project, project.KeystoneProject)