Commit 7a9b9297 authored by Andrzej Lisak's avatar Andrzej Lisak

Merge branch 'get_account_reputations' of gitlab.syncad.com:hive/tests_api...

Merge branch 'get_account_reputations' of gitlab.syncad.com:hive/tests_api into get_account_reputations
parents cde8d616 2c054da3
{
"reputations": [
{
"name": "steemit",
"reputation": 0
}
]
}
\ No newline at end of file
{
"reputations": [
{
"name": "steemit",
"reputation": 0
}
]
}
\ No newline at end of file
---
#should return reputation based on fat node, now is 0
test_name: Hivemind condenser_api.get_account_reputations patterns test
marks:
- patterntest # fat node gives different answer (not only nonzero reputation but also json is generally different)
includes:
- !include ../../common.yaml
stages:
- name: get_account_reputations
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_account_reputations"
params: ["steemit", 1]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "first"
directory: "condenser_api_patterns/get_account_reputations"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment