You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for signing in [{}, {"dnssec": None}, {"dnssec": False}, {"dnssec": True}]:
body = {"domain": "example.com", "available": available, "deep": {} if available is None else {"registration": {"registered": False} if available else {"registered": True, **signing}}}
calls = []
def transport(request):
calls.append(request)
return httpx.Response(200, json=body)
with ParseAPI("fixture", transport=httpx.MockTransport(transport)) as client:
assert client.domain("example.com", deep=True) == body