From: Scott Worley Date: Fri, 26 Jan 2024 02:06:43 +0000 (-0800) Subject: Use a more URL-looking url in tests X-Git-Url: http://git.scottworley.com/paperdoorknob/commitdiff_plain/075f2f08f0f67d449e04e64f5a85742e52e50d30?ds=sidebyside;hp=53f396b459889b46e6feea48e8fa8e89b2452e9f Use a more URL-looking url in tests --- diff --git a/glowfic_test.py b/glowfic_test.py index 68debf9..22eea25 100644 --- a/glowfic_test.py +++ b/glowfic_test.py @@ -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,