def assertValidHarData(self, data, url): if self.VALIDATION_SUPPORTED: schema.validate(data) first_url = data["log"]["entries"][0]["request"]["url"] self.assertEqual(first_url, url)
def assertValidHarData(self, data, url): if self.VALIDATION_SUPPORTED: schema.validate(data) first_url = data["log"]["entries"][0]["request"]["url"] self.assertEqual(first_url, url)