Skip to content

Commit

Permalink
[pre-commit.ci] Apply automatic pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 22, 2023
1 parent afcf62f commit e92b5a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/tests_integration/filetest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for parameter_name in "${!expected_values[@]}"; do
if yq eval ".${parameter_name}" "$yaml_file" > /dev/null 2>&1; then
actual_value=$(yq eval ".${parameter_name}" "$yaml_file")
expected_value="${expected_values[${parameter_name}]}"

if [ "$actual_value" == "$expected_value" ]; then
echo "Parameter '$parameter_name' has the expected value: $expected_value"
else
Expand All @@ -35,4 +35,4 @@ for parameter_name in "${!expected_values[@]}"; do
else
echo "Parameter '$parameter_name' does not exist in the YAML file."
fi
done
done
6 changes: 1 addition & 5 deletions tests/tests_integration/nebari-test.exp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# puts "The file does not exist at $file_path."
# # Perform actions when the file does not exist
# }
set shell_script "./filetest.sh"
set shell_script "./file test.sh"
spawn bash $shell_script
expect eof
# set provider_key "provider"
Expand Down Expand Up @@ -80,7 +80,3 @@ expect eof
# set yq_command "yq e '.[]' $file_path"
# puts "Keys and Values in the YAML file:"
# exec sh -c $yq_command




0 comments on commit e92b5a7

Please sign in to comment.