From 365421b99a6e76cd3c2e3dbb02638005e456abf8 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 6 Feb 2015 15:27:43 -0500 Subject: [PATCH] isolate unit tests from stackrc HOST_IP check The HOST_IP check in stackrc is useful for real users, but some cloud nodes that infra runs don't detect it correctly, and it's not actually required for unit tests to work right. Change-Id: Id2aaa713aea91825021e9d8d49d19f3e40a8e6c9 --- tests/test_ip.sh | 3 --- tests/test_libs_from_pypi.sh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_ip.sh b/tests/test_ip.sh index e9cbcca4a4..add8d1ae65 100755 --- a/tests/test_ip.sh +++ b/tests/test_ip.sh @@ -8,9 +8,6 @@ TOP=$(cd $(dirname "$0")/.. && pwd) # Import common functions source $TOP/functions -# Import configuration -source $TOP/openrc - echo "Testing IP addr functions" diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index 7e96bae7bb..6e1b515efd 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -17,6 +17,8 @@ TOP=$(cd $(dirname "$0")/.. && pwd) export TOP_DIR=$TOP +# we don't actually care about the HOST_IP +HOST_IP="don't care" # Import common functions source $TOP/functions source $TOP/stackrc