From: manuedelf Date: Wed, 17 Feb 2021 18:05:11 +0000 (+0100) Subject: Fix grep feature name in test_utils.py X-Git-Tag: 3.0.0~25^2~1 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=transportpce.git;a=commitdiff_plain;h=4a3e94824b3d608fa3b21eee21f5dae220dc41fd Fix grep feature name in test_utils.py Signed-off-by: manuedelf Change-Id: I244605777b81db1a0016b65742f95a9ea356ea72 --- diff --git a/tests/transportpce_tests/common/test_utils.py b/tests/transportpce_tests/common/test_utils.py index d9b9ee09a..c2447a992 100644 --- a/tests/transportpce_tests/common/test_utils.py +++ b/tests/transportpce_tests/common/test_utils.py @@ -137,7 +137,8 @@ def install_karaf_feature(feature_name: str): os.path.dirname(os.path.realpath(__file__)), "..", "..", "..", "karaf", "target", "assembly", "bin", "client") return subprocess.run([executable], - input='feature:install ' + feature_name + '\n feature:list | grep tapi \n logout \n', + input='feature:install ' + feature_name + '\n feature:list | grep ' + + feature_name + ' \n logout \n', universal_newlines=True, check=False)