Init the cooperative command-line interface

This commit is contained in:
Luke Murphy
2020-04-03 14:32:16 +02:00
commit 90a3239ffe
27 changed files with 1204 additions and 0 deletions

10
test/test_version.py Normal file
View File

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