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

Merge branch 'get_following' into 'master'

condenser_api get_following moved to folder

See merge request !67
parents e174ccf4 0ec8682f
---
test_name: Hivemind condenser_api.get_following over limit test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_following 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_following"
params: ["gtg","blocktrades","blog",1001]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "over_limit"
directory: "condenser_api_negative/get_following"
error_response: true
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_following wrong_type patterns test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_following 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_following"
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_following"
error_response: true
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_following patterns test
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_following
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_following"
params: ["proskynneo",null,"blog",10]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "blog"
directory: "condenser_api_patterns/get_following"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_following ignore_type patterns test
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_following 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_following"
params: ["brightnesssoulds",null,"ignore",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "ignore_type"
directory: "condenser_api_patterns/get_following"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_following last patterns test
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_following 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_following"
params: ["gtg","blocktrades","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_following"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_following no following patterns test
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_following no following
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_following"
params: ["test2",null,"blog",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "no_following"
directory: "condenser_api_patterns/get_following"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_following patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_following
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_following"
params: ["proskynneo",null,"blog",10]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_following last patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_following 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_following"
params: ["gtg","blocktrades","blog",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following_last"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_following no following patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_following no following
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_following"
params: ["test2",null,"blog",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following_no_following"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_following ignore_type patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_following 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_following"
params: ["brightnesssoulds",null,"ignore",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following_ignore"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_following wrong_type patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_following 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_following"
params: ["brightnesssoulds",null,"wrong_type",1000]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following_wrong_type"
directory: "condenser_api_patterns"
error_response: true
---
test_name: Hivemind condenser_api.get_following over limit test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_following 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_following"
params: ["gtg","blocktrades","blog",1001]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following_over_limit"
directory: "condenser_api_patterns"
error_response: true
---
test_name: Hivemind condenser_api.get_follow_count 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