Commit e174ccf4 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Merge branch 'get_followers' into 'master'

condenser_api get_followers moved to folder

See merge request !66
parents b586718d fcdc3d1f
---
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: "wrong_type"
directory: "condenser_api_negative/get_followers"
error_response: true
\ No newline at end of file
---
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: "ignore"
directory: "condenser_api_patterns/get_followers"
\ No newline at end of file
---
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: "last"
directory: "condenser_api_patterns/get_followers"
\ No newline at end of file
---
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: "no_followers"
directory: "condenser_api_patterns/get_followers"
\ No newline at end of file
---
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