Skip to content

Commit

Permalink
Remove json_safe test
Browse files Browse the repository at this point in the history
  • Loading branch information
craddm committed Nov 8, 2024
1 parent 8b9145d commit 4d22313
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/functions/test_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from data_safe_haven.exceptions import DataSafeHavenValueError
from data_safe_haven.functions import (
get_key_vault_name,
json_safe,
next_occurrence,
)

Expand Down Expand Up @@ -70,11 +69,3 @@ def test_invalid_timeformat(self):
)
def test_get_key_vault_name(value, expected):
assert get_key_vault_name(value) == expected


@pytest.mark.parametrize(
"value,expected",
[(r"Test SRE", "testsre"), (r"%*aBc", "abc"), (r"MY_SRE", "mysre")],
)
def test_json_safe(value, expected):
assert json_safe(value) == expected

0 comments on commit 4d22313

Please sign in to comment.