Skip to content

Commit e5ddb0e

Browse files
committed
tests
1 parent df4ab5b commit e5ddb0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_index.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ def test_system_search():
2222

2323
def test_megaships():
2424
with app.test_client() as client:
25-
response = client.get("/404")
26-
assert response.status_code == 404
27-
assert response.text.__contains__('umami.track("error_404");')
25+
response = client.get("/results?system=Sol&power=Jerome+Archer&taskName=Scan+Megaship+Datalinks&choice=Reinforce")
26+
assert response.status_code == 200
27+
assert response.text.__contains__("Found 15 megaships in Jerome")

0 commit comments

Comments
 (0)