Isolate platform instances across tests
Global/class variables are retained across test functions. Explicitly reset the Platform _instance class variable when shutting down App and on test teardown for clean testing. Add assertion to Platform.create_instance() to ensure it's never called twice without teardown.
Loading
Please register or sign in to comment