Beispiel #1
0
    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)
Beispiel #2
0
    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)