MCPcopy Create free account
hub / github.com/ehForwarderBot/ehForwarderBot / dump_and_load_config

Function dump_and_load_config

tests/test_channel_loading.py:45–49  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

43
44
45def dump_and_load_config(config):
46 config_path = ehforwarderbot.utils.get_config_path()
47 with config_path.open('w') as f:
48 yaml.dump(config, f)
49 return ehforwarderbot.config.load_config()
50
51
52def test_load_config():

Callers 3

test_instance_idFunction · 0.85

Calls 1

load_configMethod · 0.80

Tested by

no test coverage detected