summaryrefslogtreecommitdiffhomepage
path: root/test/test_static_types.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_static_types.py')
-rw-r--r--test/test_static_types.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_static_types.py b/test/test_static_types.py
index 18564a21..0e86517b 100644
--- a/test/test_static_types.py
+++ b/test/test_static_types.py
@@ -85,7 +85,10 @@ class TestStaticTypes(TestApplicationProto):
def test_static_types_regex(self, temp_dir):
self.action_update(
- {"share": temp_dir + "/assets$uri", "types": ["~text/(html|plain)"]}
+ {
+ "share": temp_dir + "/assets$uri",
+ "types": ["~text/(html|plain)"],
+ }
)
assert self.get(url='/file.php')['status'] == 403, 'regex fail'
self.check_body('/file.html', '.html')