diff options
author | Taseer <taseer94@gmail.com> | 2017-06-02 14:23:55 +0500 |
---|---|---|
committer | Taseer <taseer94@gmail.com> | 2017-06-02 19:41:05 +0500 |
commit | 30f07d0e8e2d82e613155e218d92f126ad1316bf (patch) | |
tree | 0daa3445e6bd359ba6fa0f7c89ff53bf87d062d7 /tests/unit/cli | |
parent | aa27f390c9ad6817d2682c4f59594f43c69d614f (diff) |
Refactor Cli
- Remove reduntant contexts
- Remove verbose option
- Use builtin help and version options
Change-Id: Ifb66009b5f9ab95428ce87c90f739b5221ccdd6f
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'tests/unit/cli')
-rw-r--r-- | tests/unit/cli/options_test.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/unit/cli/options_test.py b/tests/unit/cli/options_test.py index d7c0f700..6aef139c 100644 --- a/tests/unit/cli/options_test.py +++ b/tests/unit/cli/options_test.py @@ -21,10 +21,6 @@ class TestClass(object): def runner(self): return CliRunner() - def test_verbose(self, runner): - result = runner.invoke(cli, ['-v']) - assert result.output == '' - def test_version(self, runner): result = runner.invoke(cli, ['--version']) assert re.search(r'\d+\.\d+\.\d+', result.output) |