From f273253a2bcd1e8e5ea719c7287c781f59bab504 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 8 Sep 2021 00:16:08 +0200 Subject: [PATCH] =?UTF-8?q?(=20=C2=B4=20w=20`)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_httpcli.py | 3 +++ tests/test_vfs.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/tests/test_httpcli.py b/tests/test_httpcli.py index e6cdd843..669d1fc3 100644 --- a/tests/test_httpcli.py +++ b/tests/test_httpcli.py @@ -39,6 +39,8 @@ class Cfg(Namespace): no_scandir=False, no_sendfile=True, no_rescan=True, + no_logues=False, + no_readme=False, re_maxage=0, ihead=False, nih=True, @@ -151,6 +153,7 @@ class TestHttpCli(unittest.TestCase): tar = tarfile.open(fileobj=io.BytesIO(b)).getnames() except: tar = [] + tar = [x[4:] if x.startswith("top/") else x for x in tar] tar = ["/".join([y for y in [top, durl, x] if y]) for x in tar] tar = [[x] + self.can_rw(x) for x in tar] tar_ok = [x[0] for x in tar if x[1]] diff --git a/tests/test_vfs.py b/tests/test_vfs.py index ce7d404a..05a07866 100644 --- a/tests/test_vfs.py +++ b/tests/test_vfs.py @@ -26,6 +26,8 @@ class Cfg(Namespace): "no_hash": False, "css_browser": None, "no_voldump": True, + "no_logues": False, + "no_readme": False, "re_maxage": 0, "rproxy": 0, }