MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / setUp

Method setUp

tests/utils/plugin_test.py:122–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 ray.shutdown(_exiting_interpreter=True)
121
122 def setUp(self):
123 self.config = get_template_config()
124 self.config.checkpoint_root_dir = get_checkpoint_path()
125 self.config.check_and_update()
126 shutil.rmtree(self.config.monitor.cache_dir, ignore_errors=True)

Callers

nothing calls this directly

Calls 3

get_template_configFunction · 0.90
get_checkpoint_pathFunction · 0.90
check_and_updateMethod · 0.80

Tested by

no test coverage detected