MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / test_write_config_has_skeleton

Function test_write_config_has_skeleton

tests/test_auxiliaryfunctions.py:121–127  ·  view source on GitHub ↗

Required for backward compatibility.

(tmpdir_factory)

Source from the content-addressed store, hash-verified

119
120
121def test_write_config_has_skeleton(tmpdir_factory):
122 """Required for backward compatibility."""
123 fake_folder = tmpdir_factory.mktemp("fakeConfigs")
124 fake_config_file = fake_folder / Path("fakeConfig")
125 auxiliaryfunctions.write_config(fake_config_file, {})
126 config_data = auxiliaryfunctions.read_config(fake_config_file)
127 assert "skeleton" in config_data
128
129
130@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

write_configMethod · 0.45
read_configMethod · 0.45

Tested by

no test coverage detected