The test, test_global_override.py, cannot run because its test fixture, the config store, does not get created during test setup.
This PR refactors the test setup that removes the config store test fixture; instead, the refactor simplifies the test setup by using a test agent to manage the config store of the volttron instance.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Ubuntu 20.04, Python 3.8.10
pytest test_global_override.py
22 passed, 11 skipped in 369.49s (0:06:09)
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
The test, test_global_override.py, cannot run because its test fixture, the config store, does not get created during test setup.
This PR refactors the test setup that removes the config store test fixture; instead, the refactor simplifies the test setup by using a test agent to manage the config store of the volttron instance.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Ubuntu 20.04, Python 3.8.10
Checklist: