Commit 52623b3a authored by Dariusz Kędzierski's avatar Dariusz Kędzierski

[WIP] Added follow_api pattern test yaml definition

- Added xfail mark to failing tests
parent fdd4f93a
......@@ -33,6 +33,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -63,6 +64,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -93,6 +95,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -123,6 +126,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -298,6 +302,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -328,6 +333,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......
......@@ -91,6 +91,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -121,6 +122,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -151,6 +153,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -181,6 +184,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -211,6 +215,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -241,6 +246,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -271,6 +277,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -301,6 +308,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -331,6 +339,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -390,6 +399,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -420,6 +430,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -450,6 +461,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -480,6 +492,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -510,6 +523,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -540,6 +554,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -657,6 +672,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -687,6 +703,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......
......@@ -4,6 +4,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......@@ -34,6 +35,7 @@
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
......
---
test_name: Hivemind follow_api.get_followers patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_followers
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_followers"
params: {"account":"steemit","start":null,"type":"blog","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_followers"
directory: "follow_api_patterns"
---
test_name: Hivemind follow_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:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_following"
params: {"account":"proskynneo","start":null,"type":"blog","limit":10}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_following"
directory: "follow_api_patterns"
---
test_name: Hivemind follow_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:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_follow_count"
params: {"account":"steemit"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_follow_count"
directory: "follow_api_patterns"
---
test_name: Hivemind follow_api.get_account_reputations patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_account_reputations
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_account_reputations"
params: {"account_lower_bound": "steem", "limit":1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_account_reputations"
directory: "follow_api_patterns"
---
test_name: Hivemind follow_api.get_blog patterns test
marks:
- patterntest
- failing
- xfail
includes:
- !include common.yaml
stages:
- name: get_blog
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_blog"
params: {"account":"steemit","start_entry_id":0,"limit":1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_blog"
directory: "follow_api_patterns"
---
test_name: Hivemind follow_api.get_blog_entries patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_blog_entries
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_blog_entries"
params: {"account":"steemit","start_entry_id":0,"limit":1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_blog_entries"
directory: "follow_api_patterns"
---
test_name: Hivemind follow_api.get_reblogged_by patterns test
marks:
- patterntest
includes:
- !include common.yaml
stages:
- name: get_reblogged_by
request:
url: "{service.proto:s}://{service.server:s}:{service.port:d}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "follow_api.get_reblogged_by"
params: {"author":"steemit","permlink":"firstpost"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "get_reblogged_by"
directory: "follow_api_patterns"
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