aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_epugrep.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_epugrep.py')
-rw-r--r--tests/test_epugrep.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_epugrep.py b/tests/test_epugrep.py
new file mode 100644
index 0000000..7db430a
--- /dev/null
+++ b/tests/test_epugrep.py
@@ -0,0 +1,9 @@
+import unittest
+
+import epubgrep
+
+
+class TestEPubGrep(unittest.TestCase):
+ def test_epub_is_file(self):
+ with self.assertRaises(AssertionError):
+ epubgrep.grep_book('foo', 'bar', 0)