summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/functions
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-08-06 11:23:15 -0500
committerVictor Morales <victor.morales@intel.com>2017-08-06 11:26:02 -0500
commit158c18c732e97119880e6a8bddf85ed0ea5d41af (patch)
tree2ec5fc28dcf6932a3d50ddb038c8916572ac466c /bootstrap/vagrant-onap/lib/functions
parent3529c70a5bff5139f6d483a86ddfca407374022f (diff)
Add AAI Unit Tests
This change includes the addition of Unit Tests for A&AI component and the required refactor process in their functions Change-Id: Ib3b1109e7e80d5ef51e682445b7ecbf600bf3e62 Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'bootstrap/vagrant-onap/lib/functions')
-rwxr-xr-xbootstrap/vagrant-onap/lib/functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/lib/functions b/bootstrap/vagrant-onap/lib/functions
index 7e6ff2e98..eeced5a34 100755
--- a/bootstrap/vagrant-onap/lib/functions
+++ b/bootstrap/vagrant-onap/lib/functions
@@ -129,7 +129,9 @@ function install_python {
# _install_pip() - Install Python Package Manager
function _install_pip {
install_python
- curl -sL https://bootstrap.pypa.io/get-pip.py | python
+ if [ ! -f /usr/local/bin/pip ]; then
+ curl -sL https://bootstrap.pypa.io/get-pip.py | python
+ fi
}
# install_python_package() - Install a python module