-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularize
verdi profile delete
(#2151)
Modularized the code to delete a profile by splitting it into functions that have been moved to `aiida.manage.configuration.setup` module. Then, three new options are added to `verdi profile delete` * `--include-db/--skip-db` * `--include-repository/--skip-repository` * `--include-config/--skip-config` The unittest for `verdi profile delete` now makes use of `--skip-db` such that the test no longer prompts for a sudo password locally. The full functionality is tested on Travis in `.ci/test_profile.py`.
- Loading branch information
1 parent
cd2b051
commit 69f3bd5
Showing
6 changed files
with
230 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.