diff options
author | Ole Troan <otroan@cisco.com> | 2022-12-01 11:22:06 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2022-12-07 10:33:20 +0000 |
commit | 37157dad514b85d008cf8e01a889889d8869f02b (patch) | |
tree | dfdbb28255c4e6d73a7a84333fb5ccb2fde47f5f /test/vpp_papi_provider.py | |
parent | d7413835e1478b0c1356bae7d45e00061d7eb8d4 (diff) |
tests: multiple apidir locations
To support testing of external plugins, add support to the test framework and PAPI
for specifying a list of locations to look for api.json files.
Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I128a306e3c091dc8ef994801b1470b82d2f4595d
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 148eca2053b..6c3cd7f83fa 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -238,7 +238,7 @@ class VppPapiProvider(object): # install_dir is a class attribute. We need to set it before # calling the constructor. - VPPApiClient.apidir = config.vpp_install_dir + VPPApiClient.apidir = config.extern_apidir + [config.vpp_install_dir] self.vpp = VPPApiClient( logger=test_class.logger, |