summaryrefslogtreecommitdiff
path: root/tests/test_insert.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_insert.py')
-rw-r--r--tests/test_insert.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_insert.py b/tests/test_insert.py
new file mode 100644
index 0000000..caaf7ff
--- /dev/null
+++ b/tests/test_insert.py
@@ -0,0 +1,4 @@
+def test_insert(capsys, insert_program):
+ insert_program.run()
+
+ assert capsys.readouterr()[0] == 'Row added!\n' \ No newline at end of file