From c8fa86c68ca83347037a418cd3eee45a6d060b59 Mon Sep 17 00:00:00 2001 From: Taseer Ahmed Date: Mon, 23 Jan 2017 18:41:58 +0500 Subject: Click's built in support for version option Change-Id: I62ffde066fe2fcb5be7af9a29686a7d380353670 Signed-off-by: Taseer Ahmed --- tests/unit/cli/test_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/cli') diff --git a/tests/unit/cli/test_options.py b/tests/unit/cli/test_options.py index 5129b5cc..f9472814 100644 --- a/tests/unit/cli/test_options.py +++ b/tests/unit/cli/test_options.py @@ -25,7 +25,7 @@ class TestClass(object): def test_version(self, runner): result = runner.invoke(cli, ['--version']) - assert '' in result.output + assert 'dev' in result.output def test_debug(self, runner): result = runner.invoke(cli, ['-d']) -- cgit 1.2.3-korg