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

Method test_list_plugins

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

Source from the content-addressed store, hash-verified

81 assert 'Description' in item
82
83 def test_list_plugins(self):
84 self.ensure_plugin_installed(SSHFS)
85 data = self.client.plugins()
86 assert len(data) > 0
87 plugin = [p for p in data if p['Name'] == SSHFS][0]
88 assert 'Config' in plugin
89
90 def test_configure_plugin(self):
91 pl_data = self.ensure_plugin_installed(SSHFS)

Callers

nothing calls this directly

Calls 2

pluginsMethod · 0.45

Tested by

no test coverage detected