summaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests.py b/tests.py
index 0289755..4c85a74 100644
--- a/tests.py
+++ b/tests.py
@@ -21,8 +21,8 @@ class FlaskrTestCase(unittest.TestCase):
21 21
22 def test_check_mimetypes(self): 22 def test_check_mimetypes(self):
23 rv = self.app.get('/') 23 rv = self.app.get('/')
24 self.assertIn(b'application/zip', rv.data) 24 self.assertIn(b'.torrent', rv.data)
25 self.assertIn(b'audio/x-flac', rv.data) 25 self.assertIn(b'.ods', rv.data)
26 26
27 def test_get_download_dangerous_file(self): 27 def test_get_download_dangerous_file(self):
28 rv = self.app.get('/download/1337/\..\filename') 28 rv = self.app.get('/download/1337/\..\filename')