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

Merge branch 'get_content' into 'master'

condenser_api get_content moved to folder

See merge request !71
parents 2777455f e16a49c0
---
test_name: Hivemind condenser_api.get_content deleted post patterns test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_content gtg
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_content"
params: ["jsc", "testing-summary"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "deleted_post"
directory: "condenser_api_negative/get_content"
error_response: true
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_content gtg patterns test
marks:
- patterntest # fat node was giving more data
includes:
- !include ../../common.yaml
stages:
- name: get_content gtg
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_content"
params: ["gtg", "witness-gtg"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "gtg"
directory: "condenser_api_patterns/get_content"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_content patterns test
marks:
- patterntest # fat node was giving more data
includes:
- !include ../../common.yaml
stages:
- name: get_content
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_content"
params: ["steemit", "firstpost"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "steemit_firstpost"
directory: "condenser_api_patterns/get_content"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_content_replies patterns test
marks:
- patterntest # fat node was giving more data
includes:
- !include ../../common.yaml
stages:
- name: get_content_replies
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_content_replies"
params: ["gtg", "hello-world"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "gtg"
directory: "condenser_api_patterns/get_content_replies"
\ No newline at end of file
---
test_name: Hivemind condenser_api.get_content patterns test
marks:
- patterntest # fat node was giving more data
includes:
- !include common.yaml
stages:
- name: get_content
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_content"
params: ["steemit", "firstpost"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_content"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_content gtg patterns test
marks:
- patterntest # fat node was giving more data
includes:
- !include common.yaml
stages:
- name: get_content gtg
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_content"
params: ["gtg", "witness-gtg"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_content_gtg"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_content deleted post patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_content gtg
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_content"
params: ["jsc", "testing-summary"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_content_deleted"
directory: "condenser_api_patterns"
error_response: true
---
test_name: Hivemind condenser_api.get_content_replies patterns test
marks:
- patterntest # fat node was giving more data
includes:
- !include common.yaml
stages:
- name: get_content_replies
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_content_replies"
params: ["gtg", "hello-world"]
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_content_replies"
directory: "condenser_api_patterns"
---
test_name: Hivemind condenser_api.get_state patterns test # Deprecated
......
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