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

Method test_push

tests/unit/models_images_test.py:96–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 )
95
96 def test_push(self):
97 client = make_fake_client()
98 client.images.push('foobar', insecure_registry=True)
99 client.api.push.assert_called_with(
100 'foobar',
101 tag=None,
102 insecure_registry=True
103 )
104
105 def test_remove(self):
106 client = make_fake_client()

Callers

nothing calls this directly

Calls 2

make_fake_clientFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected