fix(tests): add case for when query has empty string

This is produced by the FRITZ!Box DDNS client.
This commit is contained in:
Jalil David Salamé Messina 2025-01-31 21:04:36 +01:00
parent 2f97008475
commit 70ed898f1d
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -237,9 +237,9 @@
if IPV4 and IPV6:
update_records("127.0.0.1", domain="test", ipv4="1.2.3.4", ipv6="::1234")
elif IPV4:
update_records("127.0.0.1", ipv4="1.2.3.4")
update_records("127.0.0.1", ipv4="1.2.3.4", ipv6="")
elif IPV6:
update_records("[::1]", ipv6="::1234")
update_records("[::1]", ipv4="", ipv6="::1234")
for domain in DYNAMIC_DOMAINS:
if IPV4: