Roll out the new boilerplate
This commit is contained in:
@@ -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 hypercore_crypto.__init__ import __version__
|
||||
|
||||
assert __version__ == 'unknown'
|
||||
Reference in New Issue
Block a user