summaryrefslogtreecommitdiff
path: root/tests/test_search.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_search.py')
-rw-r--r--tests/test_search.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
new file mode 100644
index 0000000..ecdc550
--- /dev/null
+++ b/tests/test_search.py
@@ -0,0 +1,4 @@
+def test_search(capsys, search_program):
+ search_program.run()
+
+ assert capsys.readouterr()[0] == "('1919', 'Ten Days that Shook the World', 'John Reed')\n" \ No newline at end of file