Skip to content

Commit 9be4e6c

Browse files
committed
make test set validation on new value case sensitive
1 parent d59d8b9 commit 9be4e6c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_commands/test_set.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def test_set_sparkpool_invalid_query_failure(
269269
"metadata_to_set, input_value",
270270
[
271271
("nodeSize", "Medium"),
272-
("autoScale.enabled", "true"),
272+
("autoScale.enabled", "True"),
273273
("autoScale.minNodeCount", "2"),
274274
("autoScale.maxNodeCount", "5"),
275275
("name", None), # Use None to trigger generate_random_string
@@ -874,9 +874,7 @@ def _test_set_metadata_success(
874874
assert ex.value.status_code in (constant.ERROR_NOT_FOUND, "EntityNotFound")
875875

876876
get(new_entity.full_path, query=metadata_to_set)
877-
assert (
878-
mock_questionary_print.call_args[0][0].lower() == new_metadata_value.lower()
879-
)
877+
assert mock_questionary_print.call_args[0][0] == new_metadata_value
880878

881879
# Clean up - update the full path of the renamed entities so the factory can clean them up
882880
if metadata_to_set == "displayName":

0 commit comments

Comments
 (0)