Fix grep feature name in test_utils.py 13/95213/2
authormanuedelf <emmanuelle.delfour@orange.com>
Wed, 17 Feb 2021 18:05:11 +0000 (19:05 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 23 Feb 2021 10:34:02 +0000 (10:34 +0000)
Signed-off-by: manuedelf <emmanuelle.delfour@orange.com>
Change-Id: I244605777b81db1a0016b65742f95a9ea356ea72

tests/transportpce_tests/common/test_utils.py

index d9b9ee09a400661b19feb550cab0b5a1f88bb31b..c2447a992fb8577cf73af4d559661aec17fa1870 100644 (file)
@@ -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)