A debug status page embed in the server

This commit is contained in:
Julien Duponchelle committed 2015-12-18 14:38:26 +01:00
1 parent 480ca037cd
commit 286cd7a3ac
4 files changed
+50

No files matched your search

+5
View File
@@ -29,3 +29,8 @@ def test_index(server):
html = response.html
assert "Website" in html
assert __version__ in html
def test_status(server):
response = server.get('/status', api_version=None)
assert response.status == 200