(self)
| 126 | |
| 127 | @requires_api_version('1.26') |
| 128 | def test_upgrade_plugin(self): |
| 129 | pl_data = self.ensure_plugin_installed(SSHFS) |
| 130 | assert pl_data['Enabled'] is False |
| 131 | prv = self.client.plugin_privileges(SSHFS) |
| 132 | logs = list(self.client.upgrade_plugin(SSHFS, SSHFS, prv)) |
| 133 | assert filter(lambda x: x['status'] == 'Download complete', logs) |
| 134 | assert self.client.inspect_plugin(SSHFS) |
| 135 | assert self.client.enable_plugin(SSHFS) |
| 136 | |
| 137 | def test_create_plugin(self): |
| 138 | plugin_data_dir = os.path.join( |
nothing calls this directly
no test coverage detected