Skip to content

Commit

Permalink
revert one of roberts changes and mine
Browse files Browse the repository at this point in the history
  • Loading branch information
Volatar committed Dec 3, 2023
1 parent e97ee35 commit 9f33043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion API Testing Lab/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def test_get():
response = requests.get(base + "iceCream/4")
assert response.json() != {"4": "Cookies and Creme"}
assert response.json() == {"4": "Cotton Candy"}
assert response.status_code == 200


Expand All @@ -21,6 +21,7 @@ def test_put():
assert response.json() == {"4": "Cookies and Creme"}
assert response.status_code == 201


def test_get_again():
response = requests.get(base + "iceCream/4")
assert response.json() == {"4": "Cookies and Creme"}
Expand Down

0 comments on commit 9f33043

Please sign in to comment.