Closed fpfeng closed 1 year ago
@fpfeng for Problem 3, should the document then be changed to: Create your project folder like:
/my_xoa_project
|
|- main.py
|- old_2544_config.v2544
|- new_2544_config.json
|- old_2889_config.v2889
|- new_2889_config.json
|- /plugin2544
|- /plugin2889
and the code example for main.py
can be found in docs/source/code_example. Let me know if they are ok. thanks.
Here is the documentation, you can also check the code example from here: https://docs.xenanetworks.com/projects/xoa-core/en/hotfix_104/
Yes, you are right about folder structure and code example is ok.
https://docs.xenanetworks.com/projects/xoa-core/en/stable/getting_started/step_by_step.html#running-old-valkyrie-test-suite-configurations
Problem 1:
I think it should be:
Problem 2: Rename
TEST_CONFIG_PATH
toXOA_CONFIG_FILE
orNEW_CONFIG_FILE
for againstOLD_CONFIG_FILE
Problem 3:
PLUGINS_PATH = BASE_PATH / "pluginlib"
For 2544 and 2889 have encounter relative import problem if putpluginXXXX
insidepluginlib
, we should put allpluginXXXX
inside root folder. But that means can not load them all at once.PLUGINS_PATH = "pluginXXXX"