aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_epugrep.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-11-30 12:06:30 +0100
committerMatěj Cepl <mcepl@cepl.eu>2018-11-30 12:06:30 +0100
commitdc8c9a24cac3725613ddd76eb4728f8f361bb48d (patch)
tree1a721522085ef59d8a9dec43df7ed66edd1ce682 /tests/test_epugrep.py
parent0c6d0acdf3b93eee221a3093ce22c0c76b0b2127 (diff)
downloadepubgrep-0d2fccdfcd18db4859c2d5e10fb78a2bbecd1b39.tar.gz
Add minimal setup.py and test0.2.0
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)