(self)
| 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'] |
nothing calls this directly
no test coverage detected