-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Start work on moving display clouds to an integration test.
- Loading branch information
1 parent
12db207
commit 40dfedb
Showing
4 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
run_show_clouds() { | ||
echo | ||
|
||
touch "${TEST_DIR}/public-clouds.yaml" | ||
|
||
OUT=$(XDG_DATA_HOME="${TEST_DIR}" juju clouds --local --format=json 2>/dev/null) | ||
if [ -n "${OUT}" ]; then | ||
echo "expected empty ${OUT}" | ||
fi | ||
} | ||
|
||
test_display_clouds() { | ||
if [ "$(skip 'test_display_clouds')" ]; then | ||
echo "==> TEST SKIPPED: display clouds" | ||
return | ||
fi | ||
|
||
( | ||
set_verbosity | ||
|
||
cd .. || exit | ||
|
||
run "run_show_clouds" | ||
) | ||
} |
File renamed without changes.
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