Skip to content

Commit

Permalink
chore: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon committed Nov 30, 2024
1 parent 8207ff2 commit c473ff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/test_zones.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ answer = "test-project2:test-region2:test-instance2"
[[zones]]
host = 'bad.example.com'
type = 'TXT'
answer = "bad-instance-name"
answer = "bad-instance-name"
8 changes: 4 additions & 4 deletions tests/unit/test_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ async def test_DnsResolver_with_malformed_txt() -> None:
resolver.port = 5053
with pytest.raises(DnsResolutionError) as exc_info:
await resolver.resolve("bad.example.com")
assert (
exc_info.value.args[0]
== "Unable to parse TXT record for `bad.example.com` -> `bad-instance-name`"
)
assert (
exc_info.value.args[0]
== "Unable to parse TXT record for `bad.example.com` -> `bad-instance-name`"
)


async def test_DnsResolver_with_bad_dns_name() -> None:
Expand Down

0 comments on commit c473ff2

Please sign in to comment.