Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Schaller <ivan@schaller.sh>
  • Loading branch information
olofvndrhr committed Mar 1, 2024
1 parent 8d29b5e commit 2e468c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_escaple_semicolon.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ def test_unescape2():
rcd_value = r"v=TLSRPTv1\\; rua=mailto:tlsrpt@example.com"
value = nbdns._unescape_semicolon(rcd_value)

assert value == r"v=TLSRPTv1\; rua=mailto:tlsrpt@example.com"
assert value == r"v=TLSRPTv1; rua=mailto:tlsrpt@example.com"


def test_unescape3():
nbdns = NetBoxDNSProvider(**DEFAULT_CONFIG)
rcd_value = r"t=y\\;o=~\;"
value = nbdns._unescape_semicolon(rcd_value)

assert value == r"t=y\;o=~;"
assert value == r"t=y;o=~;"


def test_unescape4():
Expand Down

0 comments on commit 2e468c8

Please sign in to comment.