Commit fcdc3d1f authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

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

parent a1bacb65
[
{
"follower": "brightnesssoulds",
"following": "steemit",
"what": [
"ignore"
]
}
]
[
{
"follower": "brightnesssoulds",
"following": "steemit",
"what": [
"ignore"
]
}
]
[
{
"follower": "fjccoin",
"following": "steemit",
"what": [
"blog"
]
}
]
\ No newline at end of file
[
{
"follower": "fjccoin",
"following": "steemit",
"what": [
"blog"
]
}
]
\ No newline at end of file
{
"code": -32602,
"data": "invalid follow_type `wrong_type`",
"message": "Invalid parameters"
}
{
"code": -32602,
"data": "invalid follow_type `wrong_type`",
"message": "Invalid parameters"
}
---
test_name: Hivemind condenser_api.get_followers last patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_followers last
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_followers"
params: ["steemit","fjccoin","blog",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_followers_last"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_followers ignore type patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_followers ignore type
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_followers"
params: ["steemit",null,"ignore",100]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_followers_ignore"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_followers no followers patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_followers no 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_followers"
params: ["test2",null,"blog",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_followers_no_followers"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_followers wrong_type patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_followers wrong type
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_followers"
params: ["brightnesssoulds",null,"wrong_type",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_followers_wrong_type"
directory: "condenser_api_patterns"
error_response: true
---
test_name: Hivemind condenser_api.get_following 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