MCPcopy Index your code
hub / github.com/docker/docker-py / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

455
456class CredstoreTest(unittest.TestCase):
457 def setUp(self):
458 self.authconfig = auth.AuthConfig({'credsStore': 'default'})
459 self.default_store = InMemoryStore('default')
460 self.authconfig._stores['default'] = self.default_store
461 self.default_store.store(
462 'https://gensokyo.jp/v2', 'sakuya', 'izayoi',
463 )
464 self.default_store.store(
465 'https://default.com/v2', 'user', 'hunter2',
466 )
467
468 def test_get_credential_store(self):
469 auth_config = auth.AuthConfig({

Callers

nothing calls this directly

Calls 2

InMemoryStoreClass · 0.85
storeMethod · 0.45

Tested by

no test coverage detected