diff --git a/src/app.py b/src/app.py index e7b7d82..cdc6e36 100644 --- a/src/app.py +++ b/src/app.py @@ -38,4 +38,3 @@ def submit(): def query(): q = request.args.get("q") return process_query(q) - \ No newline at end of file diff --git a/src/test_app.py b/src/test_app.py index f955560..bbe0d30 100644 --- a/src/test_app.py +++ b/src/test_app.py @@ -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" - \ No newline at end of file