Skip to content

Commit

Permalink
feat(passport): update test
Browse files Browse the repository at this point in the history
  • Loading branch information
otseobande committed Jun 26, 2019
1 parent b305abf commit 241227f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_passport/test_view_passport.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ def test_should_return_404_if_user_id_is_invalid(client):
response = client.get('/v1/passports/asdfasdfasdf/image.png')

assert response.status_code == 404

def test_should_return_404_if_user_id_is_not_found(client):
response = client.get('/v1/passports/5d13f589f7a33a7f74986c35/image.png')

assert response.status_code == 404

0 comments on commit 241227f

Please sign in to comment.