bug fix: version not retrieved on weekly jobs 95/31195/1
authorMorgan Richomme <morgan.richomme@orange.com>
Mon, 20 Mar 2017 09:04:57 +0000 (10:04 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 21 Mar 2017 13:04:05 +0000 (13:04 +0000)
commit80736be2142f624b588b97c1308f7fb3e52865af
tree4e611a566d5b7be31aa9daf65274a8c88fb0b1f3
parent37d5bac448004b04f21f5c078e27882fb33d041f
bug fix: version not retrieved on weekly jobs

a first fix had been done
but the version was retrieved 2 times with the regex
this patch removes the second regex and re-use get_version
the associated unit tests has been removed because even
if the build_tag is badly formated, it will not prevent
the results to be pushed with version = unknown

JIRA: FUNCTEST-765

Change-Id: I2cbe8ba1dd7278c3f3510a47c667c433f65e00f8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit afc59e6af25a60c68a3095365c780974721f1364)
functest/tests/unit/utils/test_functest_utils.py
functest/utils/functest_utils.py