0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-21 21:20:38 +00:00

fix tests for list wrapped dicts

This commit is contained in:
Robert Kaussow 2020-04-15 17:04:58 +02:00
parent f6c358ca15
commit 3d39874b11

View File

@ -61,7 +61,7 @@ def test_zone(requests_mock, client):
)
resp = client.zone("example.com")
assert resp == {"active": True, "dnssec": True, "name": "example.com", "type": "master"}
assert resp == [{"active": True, "dnssec": True, "name": "example.com", "type": "master"}]
def test_records(requests_mock, client):
@ -106,7 +106,7 @@ def test_type_records(requests_mock, client):
)
dictresp = client.records(zone="dict")
assert dictresp == {}
assert dictresp == [{}]
def test_filter_records(requests_mock, client):