Expanding controller.py with basic user functions, get_models and destroy (#89)
authorMathijs Moerman <mathijs.moerman@gmail.com>
Thu, 6 Apr 2017 17:58:12 +0000 (19:58 +0200)
committerCory Johns <johnsca@gmail.com>
Thu, 6 Apr 2017 17:58:12 +0000 (13:58 -0400)
commitd23810d57aa7f0fa67070781645f4898e20db0ed
tree2ebefa04107005636b70754c3b618bae602b905d
parentf93420deb029b6938f73d28a4f7a414b2b9655dc
Expanding controller.py with basic user functions, get_models and destroy (#89)

* Added user functions to controller.py, as well as the get_models call

* Fixes in controller.py

* Added controller.py integration tests

* Small fix in integration test

* Removed typo

* Disabled=False in controller.get_user does not work

* Added grant calls for model and controller, add-ssh, remove-ssh, get-ssh and get-machines

* Added last calls

* Added model.revoke('username')

* Edited docstring

* Added integrationtest for controller.py

* Fixed indentation error

* Added async

* Fixed type

* Fixed typo

* Expanded model integration tests

* Fixed typo

* ssh-key

* Typo

* Fix in remove_ssh_key

* Disconnecting models

* Added missing awaits

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Fixes

* Removed await in model grant

* Corrected remarks

* Typo

* Fixed tab error

* Typo

* Removed typo's

* Removed list from await expression

* Removed not needed await

* Added missing import

* Test

* Added decorators

* Merged #102

* Typo

* Updated _client.py

* Merged another
.gitignore
juju/client/_client.py
juju/client/client.py
juju/client/facade.py
juju/controller.py
juju/model.py
tests/base.py
tests/charm/metadata.yaml [new file with mode: 0644]
tests/integration/test_controller.py [new file with mode: 0644]
tests/integration/test_model.py