-
Committer:
Francesco Banconi
-
Date:
2015-01-12 17:46:19 UTC
-
mfrom:
(112.1.3 remove-jenv)
-
Revision ID:
francesco.banconi@canonical.com-20150112174619-xid3zhbuut6l8ezd
Jenv files removal functionality.
Add the ability to remove jenv files
from the Juju home.
Test: `make check`.
QA:
- `juju bootstrap` an environment;
- create a new user for the environment:
`juju user add myuser --generate -o ~/.juju/environments/myenv`;
- run quickstart in interactive mode:
`.venv/bin/python juju-quickstart -i`;
- the "myenv" environment should be listed under
"Other active environments": select it;
- ensure the corresponding environment description in
the jenv detail view makes sense;
- click to remove the environment, cancel the removal in the
confirm dialog and ensure the environment is still there;
- click the "remove" button again, confirm the deletion and
ensure that a message is displayed and the environment
file has been deleted. Also quickstart redirects to the
environments index view and "myenv" is no longer there;
- destroy the environment: done, thank you!
R=martin.hilton, bac
CC=
https://codereview.appspot.com/189540043