diff --git a/tests/test_mix_and_match_attack.py b/tests/test_mix_and_match_attack.py index 7f284a82..0f58be06 100755 --- a/tests/test_mix_and_match_attack.py +++ b/tests/test_mix_and_match_attack.py @@ -248,7 +248,7 @@ def test_with_tuf(self): url_file = os.path.join(url_prefix, 'metadata', 'role1.json') # Verify that 'role1.json' is the culprit. - self.assertEqual(url_file, mirror_url) + self.assertEqual(url_file.replace('\\', '/'), mirror_url) self.assertTrue(isinstance(mirror_error, securesystemslib.exceptions.BadVersionNumberError))