mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-25 16:30:39 +00:00
fix tests for list wrapped dicts
This commit is contained in:
parent
f6c358ca15
commit
3d39874b11
@ -61,7 +61,7 @@ def test_zone(requests_mock, client):
|
|||||||
)
|
)
|
||||||
|
|
||||||
resp = client.zone("example.com")
|
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):
|
def test_records(requests_mock, client):
|
||||||
@ -106,7 +106,7 @@ def test_type_records(requests_mock, client):
|
|||||||
)
|
)
|
||||||
|
|
||||||
dictresp = client.records(zone="dict")
|
dictresp = client.records(zone="dict")
|
||||||
assert dictresp == {}
|
assert dictresp == [{}]
|
||||||
|
|
||||||
|
|
||||||
def test_filter_records(requests_mock, client):
|
def test_filter_records(requests_mock, client):
|
||||||
|
Loading…
Reference in New Issue
Block a user