Describe the bug
Running two OAD processes in two pytests in the same pytest file will not reset to the default submodels from one process to another. In the small code provided in next step, running both pytests at the same time (e.g. running pytest submodel_bug/test_submodel.py
) will provide an error because in the second pytest the default submodel is not used, it is put to null as is the case in the first test. When running both tests separetely however, there is non error
Describe the bug Running two OAD processes in two pytests in the same pytest file will not reset to the default submodels from one process to another. In the small code provided in next step, running both pytests at the same time (e.g. running pytest submodel_bug/test_submodel.py ) will provide an error because in the second pytest the default submodel is not used, it is put to null as is the case in the first test. When running both tests separetely however, there is non error
To Reproduce See little code attached : submodel_bug.zip
Expected behavior Expected behaviour of when tests are run one right after the other is the behaviour when both tests are run separately
Environment