Example #1
0
 def test_service_tags_not_in_module_path(self):
     self.assertTrue(checks.service_tags_not_in_module_path(
         "@test.services('compute')", './tempest/api/compute/fake_test.py'))
     self.assertFalse(checks.service_tags_not_in_module_path(
         "@test.services('compute')",
         './tempest/scenario/compute/fake_test.py'))
     self.assertFalse(checks.service_tags_not_in_module_path(
         "@test.services('compute')", './tempest/api/image/fake_test.py'))
Example #2
0
 def test_service_tags_not_in_module_path(self):
     self.assertTrue(checks.service_tags_not_in_module_path(
         "@test.services('compute')", './tempest/api/compute/fake_test.py'))
     self.assertFalse(checks.service_tags_not_in_module_path(
         "@test.services('compute')",
         './tempest/scenario/compute/fake_test.py'))
     self.assertFalse(checks.service_tags_not_in_module_path(
         "@test.services('compute')", './tempest/api/image/fake_test.py'))