Commit e5b73613 authored by Andrzej Lisak's avatar Andrzej Lisak

[ABW]: removed duplicate test that was moved to separate folder

added detailed comment on why that test cannot have nonempty pattern (we'd need to implement new parameter or change cutoff to 1 month from head block instead of from now())
parent 2baceb1c
......@@ -2,7 +2,8 @@
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
- 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
......@@ -18,11 +19,11 @@
jsonrpc: "2.0"
id: 1
method: "condenser_api.get_discussions_by_feed"
params: {"tag":"steem","limit":1}
params: {"tag":"gtg","limit":1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "simply"
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