(self)
| 113 | assert self.client.remove_plugin(SSHFS, force=True) is True |
| 114 | |
| 115 | def test_install_plugin(self): |
| 116 | try: |
| 117 | self.client.remove_plugin(SSHFS, force=True) |
| 118 | except docker.errors.APIError: |
| 119 | pass |
| 120 | |
| 121 | prv = self.client.plugin_privileges(SSHFS) |
| 122 | logs = list(self.client.pull_plugin(SSHFS, prv)) |
| 123 | assert filter(lambda x: x['status'] == 'Download complete', logs) |
| 124 | assert self.client.inspect_plugin(SSHFS) |
| 125 | assert self.client.enable_plugin(SSHFS) |
| 126 | |
| 127 | @requires_api_version('1.26') |
| 128 | def test_upgrade_plugin(self): |
nothing calls this directly
no test coverage detected