aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/tempest
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-09-11 06:08:20 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-11 06:08:20 +0000
commit6dac04c5556db7fa2dc4088116b91509f4e73084 (patch)
tree22981177937e4a3bf177461e801a0f082cc4cac1 /functest/opnfv_tests/openstack/tempest
parent94442c0ea7245b0f69da547c1924b0a9325f21cc (diff)
parentfc8a2b28d5ee71290a7c057946b2e72db0f4a39e (diff)
Merge "Remove get_repo_tag"
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest')
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index 72ea5ce7..4202df62 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -115,17 +115,6 @@ def get_verifier_deployment_dir(verifier_id, deployment_id):
'for-deployment-{}'.format(deployment_id))
-def get_repo_tag(repo):
- """
- Returns last tag of current branch
- """
- cmd = ("git -C {0} describe --abbrev=0 HEAD".format(repo))
- p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True)
- tag = p.stdout.readline().rstrip()
-
- return str(tag)
-
-
def backup_tempest_config(conf_file):
"""
Copy config file to tempest results directory