DescriptionDo not attempt login if ws is not connected
Based on Brad's branch [1], this one moves the
connection check from the environment to
the application. If the environment is not
connected the application suspends the
authentication process waiting for the
connection to be established. Avoiding
the execution of check_user_credentials if
the ws is not ready also fixes a test problem
for which we added a work-around.
The env.login now checks for credentials,
as suggested by Kapil.
Also added tests.
[1] https://codereview.appspot.com/7130051/
https://code.launchpad.net/~frankban/juju-gui/1099909/+merge/143840
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 3
Patch Set 2 : Do not attempt login if ws is not connected #
Total comments: 6
Patch Set 3 : Do not attempt login if ws is not connected #
MessagesTotal messages: 6
|