Commit 09881883 authored by katsel's avatar katsel
Browse files

wording

parent e356ba49
...@@ -15,11 +15,11 @@ def read_api_time(endpoint='/time'): ...@@ -15,11 +15,11 @@ def read_api_time(endpoint='/time'):
return rtime return rtime
def test_index(): def test_index():
# check that we get a 404 on the / URL # check that the / endpoint returns a 404
resp = web.get('/') resp = web.get('/')
assert_equal(resp.status_code, 404) assert_equal(resp.status_code, 404)
# test that /time URL works (200 status and not empty) # check that /time endpoint works
expected = 200 expected = 200
resp = web.get('/time') resp = web.get('/time')
assert_equal(resp.status_code, expected), "Expected status %r is not %r" % ( assert_equal(resp.status_code, expected), "Expected status %r is not %r" % (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment