Skip to content
Snippets Groups Projects
Commit 3afd62e0 authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent 814d2afc
Branches
Tags
No related merge requests found
......@@ -31,7 +31,7 @@ def test_location_not_found(client, mocked_redis):
def test_get_pops(client, mocked_redis):
rv = client.get(
f'/neteng/pops',
'/neteng/pops',
headers={'Accept': ['application/json']})
assert rv.status_code == 200
jsonschema.validate(
......@@ -53,9 +53,9 @@ def test_pop_location(client, mocked_redis, pop_name):
s = json.loads(rv.data.decode('utf-8'))
print(s)
def test_pop_not_found(client, mocked_redis):
rv = client.post(
'/neteng/pop/BOGUS.POP.NAME',
headers={'Accept': ['application/json']})
assert rv.status_code == 404
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment