fix flatpagesroot

This commit is contained in:
2021-11-20 08:30:51 +00:00
parent 126e4a070d
commit b207d85629
2 changed files with 10 additions and 6 deletions

View File

@@ -29,4 +29,8 @@ def test_links_in_index(index_html):
assert 'href="/topic1/"' in index_html
def test_text_in_index(index_html):
assert 'asdfasdfasdf' in index_html
assert 'asdfasdfasdf' in index_html
def test_jpg(client):
resp = client.get('/topic1/test.jpg/')
assert resp.status_code == 200