mirror of
https://github.com/status-im/status-go.git
synced 2025-01-20 19:52:42 +00:00
test_: Code Migration from status-cli-tests with cleanup
This commit is contained in:
parent
c8256c234b
commit
92ff5bf0b2
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user