diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2018-11-30 12:06:30 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2018-11-30 12:06:30 +0100 |
commit | dc8c9a24cac3725613ddd76eb4728f8f361bb48d (patch) | |
tree | 1a721522085ef59d8a9dec43df7ed66edd1ce682 /tests | |
parent | 0c6d0acdf3b93eee221a3093ce22c0c76b0b2127 (diff) | |
download | epubgrep-dc8c9a24cac3725613ddd76eb4728f8f361bb48d.tar.gz |
Add minimal setup.py and test0.2.0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/__init__.py | 0 | ||||
-rw-r--r-- | tests/test_epugrep.py | 9 |
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) |