Skip to content

Commit 3605f87

Browse files
committed
Add explanation to test assertion
1 parent d44ff4f commit 3605f87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def test_destination(
2020
"""Test that the destinations page loads with seeded data"""
2121
# Create a destination
2222
response = page.goto(f"{live_server_url}/{url}")
23-
assert response.status == 200
23+
24+
assert response.status == 200 # Check that the page loaded successfully
2425
assert response.url.endswith(f"/{url}/") # Load the index.html
2526

2627

0 commit comments

Comments
 (0)