def get_test(self, manifest_test, expected_file): if expected_file is not None: expected = expected_file.get_test(manifest_test.id) else: expected = None return wpttest.from_manifest(manifest_test, expected)
def get_test(self, manifest_test, inherit_metadata, test_metadata): if test_metadata is not None: inherit_metadata.append(test_metadata) test_metadata = test_metadata.get_test(manifest_test.id) return wpttest.from_manifest(manifest_test, inherit_metadata, test_metadata)