aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py0
-rw-r--r--tests/test_epugrep.py9
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/__init__.py
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)