Commit 70adbb7d authored by Andrzej Lisak's avatar Andrzej Lisak

Merge branch 'get_discussions_by_feed' into 'master'

condenser_api_patterns get_discussions_by_feed moved to folder

See merge request !80
parents cf1b7a5e e5b73613
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # tag is not a tag but account whose feed we are looking at (set of posts created/reblogged by those followed by selected account)
# there can be no nonempty results for not-up-to-date HM because it only gives posts that were created/reblogged within last month (no param to change it)
includes:
- !include ../../common.yaml
stages:
- name: get_discussions_by_feed
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_discussions_by_feed"
params: {"tag":"gtg","limit":1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "gtg"
directory: "condenser_api_patterns/get_discussions_by_feed"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_discussions_by_feed patterns test
marks:
- patterntest # can't find any params that would give nonempty results, tag is not a tag but account
includes:
- !include common.yaml
stages:
- name: get_discussions_by_feed
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_discussions_by_feed"
params: {"tag":"steem","limit":1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_discussions_by_feed"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_discussions_by_comments 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