Esempio n. 1
0
def test_cache_group_is_complete_response_bad_responses(req, resp, expected):
    assert CacheGroup.is_complete_response(req, resp) is expected
Esempio n. 2
0
def test_cache_group_is_complete_response(steemd_requests_and_responses):
    req, resp = steemd_requests_and_responses
    assert CacheGroup.is_complete_response(req, resp) is True
Esempio n. 3
0
def test_cache_group_is_complete_response(steemd_requests_and_responses):
    req, resp = steemd_requests_and_responses
    req = JussiJSONRPCRequest.from_request(dummy_request, 0, req)
    assert CacheGroup.is_complete_response(req, resp) is True
Esempio n. 4
0
def test_cache_group_is_complete_response(steemd_request_and_response):
    req, resp = steemd_request_and_response
    req = jsonrpc_from_request(dummy_request, 0, req)
    assert CacheGroup.is_complete_response(req, resp) is True