Git status checks and more hacking

This commit is contained in:
Luke Murphy
2020-04-11 22:47:16 +02:00
parent 0806b4e134
commit c69bdec4c9
9 changed files with 123 additions and 29 deletions

View File

@ -2,9 +2,9 @@
def test_version_fails_gracefully(mocker):
target = 'pkg_resources.get_distribution'
target = "pkg_resources.get_distribution"
mocker.patch(target, side_effect=Exception())
from autonomic.__init__ import __version__
assert __version__ == 'unknown'
assert __version__ == "unknown"