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

Method test_plugin_privileges

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

Source from the content-addressed store, hash-verified

73 assert data['Name'] == SSHFS
74
75 def test_plugin_privileges(self):
76 prv = self.client.plugin_privileges(SSHFS)
77 assert isinstance(prv, list)
78 for item in prv:
79 assert 'Name' in item
80 assert 'Value' in item
81 assert 'Description' in item
82
83 def test_list_plugins(self):
84 self.ensure_plugin_installed(SSHFS)

Callers

nothing calls this directly

Calls 1

plugin_privilegesMethod · 0.80

Tested by

no test coverage detected