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

Method test_create_plugin

tests/integration/api_plugin_test.py:137–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 assert self.client.enable_plugin(SSHFS)
136
137 def test_create_plugin(self):
138 plugin_data_dir = os.path.join(
139 os.path.dirname(__file__), os.path.join('testdata', 'dummy-plugin')
140 )
141 assert self.client.create_plugin(
142 'docker-sdk-py/dummy', plugin_data_dir
143 )
144 self.tmp_plugins.append('docker-sdk-py/dummy')
145 data = self.client.inspect_plugin('docker-sdk-py/dummy')
146 assert data['Config']['Entrypoint'] == ['/dummy']

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
create_pluginMethod · 0.80
inspect_pluginMethod · 0.80

Tested by

no test coverage detected