This commit is contained in:
parent
1cfa029e4c
commit
1692f25a47
@ -1,10 +0,0 @@
|
||||
"""Version test module."""
|
||||
|
||||
|
||||
def test_version_fails_gracefully(mocker):
|
||||
target = "pkg_resources.get_distribution"
|
||||
mocker.patch(target, side_effect=Exception())
|
||||
|
||||
from flat_tree.__init__ import __version__
|
||||
|
||||
assert __version__ == "unknown"
|
Loading…
Reference in New Issue
Block a user