-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ongsici
committed
Oct 21, 2024
1 parent
a2fae96
commit 3a6806f
Showing
4 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from app import process_query | ||
|
||
|
||
def test_knows_about_dinosaurs(): | ||
assert process_query("dinosaurs") == "Dinosaurs ruled the Earth 200 million years ago" | ||
|
||
|
||
def test_does_not_know_about_asteroids(): | ||
assert process_query("asteroids") == "Unknown" | ||
|
This file was deleted.
Oops, something went wrong.