VOLTTRON / volttron

VOLTTRON Distributed Control System Platform
https://volttron.readthedocs.io/
Other
457 stars 216 forks source link

Refactor PlatformDriver test #3013

Closed bonicim closed 2 years ago

bonicim commented 2 years ago

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


pytest test_global_override.py

 22 passed, 11 skipped in 369.49s (0:06:09)

Checklist: