def test_type(self, path):
     for manifest in self.test_manifests.iterkeys():
         tests = list(manifest.iterpath(path))
         if len(tests):
             assert all(test.item_type == tests[0].item_type for test in tests)
             return tests[0].item_type
     assert False
Exemple #2
0
 def test_type(self, path):
     for manifest in self.test_manifests.iterkeys():
         tests = list(manifest.iterpath(path))
         if len(tests):
             assert all(test.item_type == tests[0].item_type
                        for test in tests)
             return tests[0].item_type
     assert False