Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verdi status
: do not except when no profile is configured (#4253)
Instead, print that no profile could be found and suggest that one is setup with `verdi quicksetup` or `verdi setup`. To test this, a new pytest fixture is created that creates a completely new and independent configuration folder, along with fixtures to create profiles to add to the config and caching configuration files. Similar code already exists for normal unittests, but this can be removed once those have been refactored to pytests.
- Loading branch information
Showing
3 changed files
with
92 additions
and
5 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