aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-06-18 13:14:46 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-06-19 01:08:39 +0200
commit0914c7e7011b7ba3ed9eeae7f6c3605afb711640 (patch)
tree92cc8701b0cb63e1ae90990e83c13c63a72e2551 /functest/utils
parent3f46c1858ccfc08dc6b5a5a5ce123f2f3fcf2234 (diff)
Stop getting git data from functest dir
Functest is no longer a git clone. Change-Id: Ieaceacaa820e9a7a3c64e8c1fbd2a8a9321f234d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils')
-rw-r--r--functest/utils/functest_utils.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py
index 995d94ff..d8cfabce 100644
--- a/functest/utils/functest_utils.py
+++ b/functest/utils/functest_utils.py
@@ -22,7 +22,6 @@ import dns.resolver
import requests
from six.moves import urllib
import yaml
-from git import Repo
from functest.utils import constants
from functest.utils import decorators
@@ -68,15 +67,6 @@ def download_url(url, dest_path):
# CI UTILS
#
# -----------------------------------------------------------
-def get_git_branch(repo_path):
- """
- Get git branch name
- """
- repo = Repo(repo_path)
- branch = repo.active_branch
- return branch.name
-
-
def get_installer_type():
"""
Get installer type (fuel, apex, joid, compass)