diff --git a/tests/unit/schema/test_url.py b/tests/unit/schema/test_url.py index 0e465b132..0fd535c68 100644 --- a/tests/unit/schema/test_url.py +++ b/tests/unit/schema/test_url.py @@ -13,7 +13,10 @@ class TestURLParsing(unittest.TestCase): def _assert_url(self, url_string, **kwargs): url = URL.parse(url_string) - self.assertEqual(url_string, str(url)) + if url_string.startswith('lbry://'): + self.assertEqual(url_string, str(url)) + else: + self.assertEqual(f'lbry://{url_string}', str(url)) present = {} for key in kwargs: for segment_name in self.segments: