You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details:
* Fixed pywbemtools install tests to perform the import test in a directory
where it does not import from the repo main directory.
* Removed the temporary disablement of the install tests that was put in
place during development of pywbem 1.2.0.
Signed-off-by: Andreas Maier <[email protected]>
warning "Skipping pywbemcli check because pywbem is installed from repo"
429
447
fi
@@ -435,16 +453,15 @@ function test1()
435
453
functiontest3()
436
454
{
437
455
testcase="test3"
438
-
info"Testcase $testcase: Pip install from wheel distribution archive: $WHL_DISTFILE"
456
+
heading"Testcase $testcase: Pip install from wheel distribution archive: $WHL_DISTFILE"
439
457
make_virtualenv "$testcase"
458
+
list_virtualenv "$TMP_TEST_DIR""Python packages in virtualenv before installation (PACKAGE_LEVEL=$PACKAGE_LEVEL)"
440
459
441
460
if [[ "$PYWBEM_FROM_REPO"=="false" ]];then
442
461
call "cd $TMP_TEST_DIR; pip install $(abspath $WHL_DISTFILE)$PIP_OPTS""Installing with pip from wheel distribution archive (PACKAGE_LEVEL=$PACKAGE_LEVEL)"
443
462
444
-
verbose "Packages before running pywbemcli:"
445
-
pip list --format=columns 2>/dev/null || pip list 2>/dev/null
446
-
447
-
assert_run_ok "pywbemcli --version"
463
+
list_virtualenv "$TMP_TEST_DIR""Python packages in virtualenv after installation (PACKAGE_LEVEL=$PACKAGE_LEVEL)"
warning "Skipping pywbemcli check because pywbem is installed from repo"
450
467
fi
@@ -456,16 +473,15 @@ function test3()
456
473
functiontest4()
457
474
{
458
475
testcase="test4"
459
-
info"Testcase $testcase: Pip install from source distribution archive: $SRC_DISTFILE"
476
+
heading"Testcase $testcase: Pip install from source distribution archive: $SRC_DISTFILE"
460
477
make_virtualenv "$testcase"
478
+
list_virtualenv "$TMP_TEST_DIR""Python packages in virtualenv before installation (PACKAGE_LEVEL=$PACKAGE_LEVEL)"
461
479
462
480
if [[ "$PYWBEM_FROM_REPO"=="false" ]];then
463
481
call "cd $TMP_TEST_DIR; pip install $(abspath $SRC_DISTFILE)$PIP_OPTS""Installing with pip from source distribution archive (PACKAGE_LEVEL=$PACKAGE_LEVEL)"
464
482
465
-
verbose "Packages before running pywbemcli:"
466
-
pip list --format=columns 2>/dev/null || pip list 2>/dev/null
467
-
468
-
assert_run_ok "pywbemcli --version"
483
+
list_virtualenv "$TMP_TEST_DIR""Python packages in virtualenv after installation (PACKAGE_LEVEL=$PACKAGE_LEVEL)"
0 commit comments