Initialise the new module boilerplate

This commit is contained in:
Luke Murphy
2019-07-08 11:40:40 +02:00
commit 1af9c06d5a
26 changed files with 546 additions and 0 deletions

0
test/__init__.py Normal file

9
test/test_version.py Normal file

@ -0,0 +1,9 @@
"""Version test module."""
def test_version_fails_gracefully(mocker):
target = 'pkg_resources.get_distribution'
with mocker.patch(target, side_effect=Exception()):
from merkle-tree-stream.__init__ import __version__
assert __version__ == 'unknown'