aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_site_basics.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_site_basics.py')
-rw-r--r--packages/meshbay-hub/tests/test_site_basics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_site_basics.py b/packages/meshbay-hub/tests/test_site_basics.py
index a3da39a..78cad83 100644
--- a/packages/meshbay-hub/tests/test_site_basics.py
+++ b/packages/meshbay-hub/tests/test_site_basics.py
@@ -47,7 +47,7 @@ def test_the_icons_are_served_from_the_root(client, path, magic):
def test_meshbay_org_sends_them_to_the_hub(path):
"""The public site owns only the paths its matcher names; a file claimed
there would be looked for in /srv/meshbay/site and 404."""
- m = re.search(r"^\s*@site path (.+)$", CADDYFILE.read_text(), re.M)
+ m = re.search(r"^\s*@site path (.+)$", CADDYFILE.read_text(encoding="utf-8"), re.M)
assert m, "the @site matcher is gone"
assert path not in m.group(1).split()