Commit 4d101303 authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: removed duplicate tests that were moved to separate folder

parent ca75d762
{
"account": "steemit",
"follower_count": 175,
"following_count": 0
}
\ No newline at end of file
{
"account": "steemit",
"follower_count": 175,
"following_count": 0
}
\ No newline at end of file
{
"account": "gtg",
"following_count": 31,
"follower_count": 80
}
\ No newline at end of file
{
"account": "gtg",
"following_count": 31,
"follower_count": 80
}
\ No newline at end of file
{
"account": "test2",
"follower_count": 0,
"following_count": 0
}
\ No newline at end of file
{
"account": "test2",
"follower_count": 0,
"following_count": 0
}
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_follow_count patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_follow_count
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_follow_count"
params: ["steemit"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_follow_count"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_follow_count following and followers patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_follow_count following and followers
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_follow_count"
params: ["gtg"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_follow_count_following_and_followers"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_follow_count_no_followers patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_follow_count
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_follow_count"
params: ["test2"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_follow_count_no_followers"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_content 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