diff --git a/cratonclient/shell/main.py b/cratonclient/shell/main.py index fbbffcc..23217e6 100644 --- a/cratonclient/shell/main.py +++ b/cratonclient/shell/main.py @@ -14,8 +14,9 @@ Main shell for parsing arguments directed toward Craton. """ + def main(): return 0 if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/cratonclient/shell/v1.py b/cratonclient/shell/v1.py index 5d2ca36..72d4e37 100644 --- a/cratonclient/shell/v1.py +++ b/cratonclient/shell/v1.py @@ -14,4 +14,4 @@ Command-line interface to the OpenStack Craton API V1. """ -#TODO (cmspence): from cratonclient.v1 import client \ No newline at end of file +# TODO (cmspence): from cratonclient.v1 import client diff --git a/cratonclient/tests/unit/test_main_shell.py b/cratonclient/tests/unit/test_main_shell.py index 3b582b0..0b70e1a 100644 --- a/cratonclient/tests/unit/test_main_shell.py +++ b/cratonclient/tests/unit/test_main_shell.py @@ -21,4 +21,5 @@ class TestMainShell(base.TestCase): def test_main_returns_successfully(self): """Verify that cratonclient shell main returns as expected.""" - self.assertEqual(main.main(),0) + + self.assertEqual(main.main(), 0)