aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-04-16 14:42:21 +0500
committerTaseer <taseer94@gmail.com>2017-04-18 13:50:00 +0500
commit2589625ff30b794f6a427e040c0287205311dec5 (patch)
treea33a720acd9899c85e4ef6ba47b75f31747e3aed /tests/unit
parent550a975949328619139631e363c3bc1b48411402 (diff)
Add E release development version.
Change-Id: Icda9c44aa33e63d46da0c5187157132a49db0882 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/cli/options_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/cli/options_test.py b/tests/unit/cli/options_test.py
index 9dbbe6f3..d7c0f700 100644
--- a/tests/unit/cli/options_test.py
+++ b/tests/unit/cli/options_test.py
@@ -8,6 +8,7 @@
##############################################################################
import pytest
+import re
import sys
from click.testing import CliRunner
@@ -26,7 +27,7 @@ class TestClass(object):
def test_version(self, runner):
result = runner.invoke(cli, ['--version'])
- assert 'dev' in result.output
+ assert re.search(r'\d+\.\d+\.\d+', result.output)
def test_debug(self, runner):
runner.invoke(cli, ['-d'])