Skip to content

Commit

Permalink
test: add kubernetes config check
Browse files Browse the repository at this point in the history
  • Loading branch information
edouard-lopez committed Aug 16, 2023
1 parent e02c8cb commit ea6c3bf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/_pure.test.fish
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,28 @@ setup
source (dirname (status filename))/../conf.d/pure.fish
echo $pure_symbol_ssh_prefix
) = ""


@test "configure: pure_enable_k8s" (
set --erase pure_enable_k8s
source (dirname (status filename))/../conf.d/pure.fish
echo $pure_enable_k8s
) = false

@test "configure: pure_symbol_k8s_prefix" (
set --erase pure_symbol_k8s_prefix
source (dirname (status filename))/../conf.d/pure.fish
echo $pure_symbol_k8s_prefix
) = ""

@test "configure: pure_color_k8s_context" (
set --erase pure_color_k8s_context
source (dirname (status filename))/../conf.d/pure.fish
echo $pure_color_k8s_context
) = pure_color_success

@test "configure: pure_color_k8s_namespace" (
set --erase pure_color_k8s_namespace
source (dirname (status filename))/../conf.d/pure.fish
echo $pure_color_k8s_namespace
) = pure_color_primary

0 comments on commit ea6c3bf

Please sign in to comment.