Skip to content
Snippets Groups Projects
Commit 7958ccaf authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Merge branch 'pmaniora_slow_calls' into 'master'

database and tags API calls from slow_calls file

See merge request !187
parents 98d29f24 e4df4cb3
No related branches found
No related tags found
1 merge request!187database and tags API calls from slow_calls file
---
test_name: Hivemind database_api.list_votes holger80
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: database_api.list_votes holger80
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "database_api.list_votes"
params: {'limit': 1000, 'order': 'by_voter_comment', 'start': ['holger80', '', '']}
response:
status_code: 200
verify_response_with:
function: validate_response:has_valid_response
extra_kwargs:
method: "holger80"
directory: "database_api_patterns/list_votes"
---
test_name: Hivemind tags_api.get_discussion vaneaventuras
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: tags_api.get_discussion vaneaventuras
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "tags_api.get_discussion"
params: {'author': 'vaneaventuras', 'permlink': 'eng-sp-make-up-challenge-week-15-social-glam-colorful-make-up'}
response:
status_code: 200
verify_response_with:
function: validate_response:has_valid_response
extra_kwargs:
method: "vaneaventuras"
directory: "tags_api_patterns/get_discussion"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment