mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Modify URL comparison in test_mix_and_match_attack.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
parent
2a3d7e4498
commit
a15ebf5e91
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue