use new-style tox.ini, add flake8-docstrings, add docstrings

This commit is contained in:
2020-06-17 20:18:43 -05:00
parent 21f65813fb
commit 14f6125f4e
6 changed files with 45 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ def test_title_override():
def test_media_file_access(client):
"""Test that media files are served, and properly."""
response = client.get('/media/favicon.png')
assert response.status_code == 200
assert response.headers['content-type'] == 'image/png'