Commit 9c98ae47 authored by Andrzej Lisak's avatar Andrzej Lisak

Merge branch 'get_account_reputations' into 'master'

condenser_api get_account_reputations tests moved to folder

See merge request !87
parents cde8d616 bf35c072
---
#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
......@@ -27,36 +27,6 @@
method: "get_blog_entries"
directory: "condenser_api_patterns"
---
#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: "get_account_reputations"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_reblogged_by patterns test
......
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