Ejemplo n.º 1
0
 def setUp(self):
     # Clear cache _before_ the test (in case other unit tests wrote to
     # the cache -- they aren't testing the cache so they may not remember
     # to wipe it) and _after_ the unit tests (so we don't leak stuff
     # that ought to be deleted).
     server.models.loaded_module.load_external_module.cache_clear()
     clear_minio()
Ejemplo n.º 2
0
    def tearDown(self):
        server.models.loaded_module.load_external_module.cache_clear()
        clear_minio()

        super().tearDown()