test_: Code Migration from status-cli-tests with cleanup

This commit is contained in:
shashankshampi 2024-10-30 21:26:36 +05:30
parent c8256c234b
commit 92ff5bf0b2

View File

@ -9,7 +9,6 @@ class ContactRequestValidator:
self.response = response
def validate_response_structure(self):
"""Check the overall structure of the response."""
assert self.response.get("jsonrpc") == "2.0", "Invalid JSON-RPC version"
assert "result" in self.response, "Missing 'result' in response"