Skip to content

Commit

Permalink
chore: fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ongsici committed Oct 21, 2024
1 parent 3a6806f commit 605ef5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ def submit():
def query():
q = request.args.get("q")
return process_query(q)

4 changes: 2 additions & 2 deletions src/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@


def test_knows_about_dinosaurs():
assert process_query("dinosaurs") == "Dinosaurs ruled the Earth 200 million years ago"
expected = "Dinosaurs ruled the Earth 200 million years ago"
assert process_query("dinosaurs") == expected


def test_does_not_know_about_asteroids():
assert process_query("asteroids") == "Unknown"

0 comments on commit 605ef5b

Please sign in to comment.