diff options
Diffstat (limited to 'tests.py')
| -rw-r--r-- | tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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') |
