Fix the error when run unit_test bash fail.
Update the test case for acloud setup GCP project.
Bug: 140279137
Test: bash run_test.sh
Change-Id: Id4ef905cb72f2d62f9b538b8f73a4010edbc534a
diff --git a/run_tests.sh b/run_tests.sh
index 3a92df5..20c430c 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -86,7 +86,7 @@
local missing_py_packages=false
for py_lib in {coverage,mock};
do
- if ! pip list --format=legacy | grep $py_lib &> /dev/null; then
+ if ! pip list | grep $py_lib &> /dev/null; then
echo "Missing required python package: $py_lib (pip install $py_lib)"
missing_py_packages=true
fi