traits icon indicating copy to clipboard operation
traits copied to clipboard

Provide methods to save and restore state of the global ETSConfig

Open mdickinson opened this issue 1 year ago • 1 comments

For testing purposes, it's often convenient to make temporary changes to the state of the global ETSConfig object and then undo those changes in the test cleanup. This generally involves digging into the ETSConfig internals.

This could be made easier and less fragile with the addition of getstate and setstate methods on ETSConfig. (Or possibly a state property that's readable and writeable.)

mdickinson avatar Feb 27 '23 15:02 mdickinson