Skip to content

Commit 2b4571a

Browse files
Refactor test_update_product for clarity and consistency
1 parent b49b561 commit 2b4571a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

week_003/tests/test_update_product.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_update_product(my_product_fixture):
3030
assert response.status_code == 200
3131

3232
assert "message" in response_body, f"The 'message' key was not found in the response! {response_body}"
33-
assert response_body["message"] == "Record updated successfully"
33+
assert response_body["message"] == "Registro alterado com sucesso"
3434
print(f"\nStatus returned for SUCCESSFUL PRODUCT UPDATE: {response.status_code}")
3535

3636
except requests.exceptions.RequestException as error_update_product_sucessfully:

0 commit comments

Comments
 (0)