(self)
| 54 | self.client.enable_plugin(SSHFS) |
| 55 | |
| 56 | def test_disable_plugin(self): |
| 57 | pl_data = self.ensure_plugin_installed(SSHFS) |
| 58 | assert pl_data['Enabled'] is False |
| 59 | assert self.client.enable_plugin(SSHFS) |
| 60 | pl_data = self.client.inspect_plugin(SSHFS) |
| 61 | assert pl_data['Enabled'] is True |
| 62 | self.client.disable_plugin(SSHFS) |
| 63 | pl_data = self.client.inspect_plugin(SSHFS) |
| 64 | assert pl_data['Enabled'] is False |
| 65 | with pytest.raises(docker.errors.APIError): |
| 66 | self.client.disable_plugin(SSHFS) |
| 67 | |
| 68 | def test_inspect_plugin(self): |
| 69 | self.ensure_plugin_installed(SSHFS) |
nothing calls this directly
no test coverage detected