MCPcopy
hub / github.com/docker/docker-py / test_load_config_no_file

Method test_load_config_no_file

tests/unit/auth_test.py:225–229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223
224class LoadConfigTest(unittest.TestCase):
225 def test_load_config_no_file(self):
226 folder = tempfile.mkdtemp()
227 self.addCleanup(shutil.rmtree, folder)
228 cfg = auth.load_config(folder)
229 assert cfg is not None
230
231 def test_load_legacy_config(self):
232 folder = tempfile.mkdtemp()

Callers

nothing calls this directly

Calls 1

load_configMethod · 0.80

Tested by

no test coverage detected