aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-15 01:57:02 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-15 01:57:02 +0000
commite83b5c4e2daeab6722963bca4adb64e982b26630 (patch)
treee3ede7301ab731e16b2b8043f26656cc96d30fbe /bootstrap
parente14cfb55cf1d0a7b8bded66e5b834ee8922ecec8 (diff)
parenta898f56a755452479ee23362696d3bacc29ec398 (diff)
Merge "Fix function UTs"
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/vagrant-onap/tests/test_functions10
1 files changed, 4 insertions, 6 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_functions b/bootstrap/vagrant-onap/tests/test_functions
index ea268923b..17a66313a 100644
--- a/bootstrap/vagrant-onap/tests/test_functions
+++ b/bootstrap/vagrant-onap/tests/test_functions
@@ -102,7 +102,6 @@ function test_install_python {
install_python
asserts_installed_package python2.7
asserts_installed_package python-dev
- asserts_file_exist /usr/local/bin/tox
}
# test_install_docker() - Verify the correct installation of Docker
@@ -158,13 +157,12 @@ function test_compile_src {
# test_build_docker_image() - Verify that a docker image is created from source code
function test_build_docker_image {
- clone_repo portal
- compile_src $git_src_folder/portal/ecomp-portal-widget-ms
- build_docker_image $git_src_folder/portal/ecomp-portal-widget-ms
+ clone_repo ccsdk/distribution
+ build_docker_image $git_src_folder/ccsdk/distribution/ubuntu docker
- asserts_image widget-ms
+ asserts_image onap/ccsdk-ubuntu-image
- docker rmi -f widget-ms
+ docker rmi -f onap/ccsdk-ubuntu-image
}
if [ "$1" != '*' ]; then