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

added check for 404 response if not found

parent cc2a30e7
No related branches found
No related tags found
No related merge requests found
......@@ -95,3 +95,11 @@ def test_peer_info(client_with_mocked_data, peer_address, peer_type):
"peer should be only vpn-rr or ix-public, not both"
assert peer_type in response_data
def test_peer_not_found(client_with_mocked_data):
rv = client_with_mocked_data.get(
'/classifier/peer-info/1.2.3.4.5',
headers = DEFAULT_REQUEST_HEADERS)
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