]> git.scottworley.com Git - paperdoorknob/commitdiff
Use a more URL-looking url in tests
authorScott Worley <scottworley@scottworley.com>
Fri, 26 Jan 2024 02:06:43 +0000 (18:06 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 26 Jan 2024 02:06:43 +0000 (18:06 -0800)
glowfic_test.py

index 68debf91cc82a719bec4f3f2ed391db6dc25f5e6..22eea257c21d4fe4d9b7776fdd159b579a8016f8 100644 (file)
@@ -16,8 +16,9 @@ from texify import PandocTexifier
 
 
 def spec_for_testing(html: bytes) -> Spec:
-    return Spec('test',
-                FakeFetcher({'test': html, 'test?view=flat': html}),
+    return Spec('https://fake/test',
+                FakeFetcher({'https://fake/test': html,
+                             'https://fake/test?view=flat': html}),
                 FakeImageStore(),
                 lambda x: x,
                 lambda x: None,