Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tests_api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hive
tests_api
Commits
62519c66
Commit
62519c66
authored
Sep 14, 2020
by
Paulina Czempiel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bridge_api test get_account_posts for beta
parent
14f787d4
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2482 additions
and
0 deletions
+2482
-0
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg.pat.json
...tavern/bridge_api_patterns/get_account_posts/gtg.pat.json
+861
-0
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg.tavern.yaml
...ern/bridge_api_patterns/get_account_posts/gtg.tavern.yaml
+28
-0
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg_posts.pat.json
.../bridge_api_patterns/get_account_posts/gtg_posts.pat.json
+1536
-0
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg_posts.tavern.yaml
...idge_api_patterns/get_account_posts/gtg_posts.tavern.yaml
+28
-0
hivemind/tavern/bridge_api_patterns/get_account_posts/rollinshive.pat.json
...ridge_api_patterns/get_account_posts/rollinshive.pat.json
+1
-0
hivemind/tavern/bridge_api_patterns/get_account_posts/rollinshive.tavern.yaml
...ge_api_patterns/get_account_posts/rollinshive.tavern.yaml
+28
-0
No files found.
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg.pat.json
0 → 100644
View file @
62519c66
This diff is collapsed.
Click to expand it.
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg.tavern.yaml
0 → 100644
View file @
62519c66
---
test_name
:
Hivemind bridge.get_account_posts test
marks
:
-
patterntest
includes
:
-
!include
../../common.yaml
stages
:
-
name
:
get_account_posts
request
:
url
:
"
{service.proto:s}://{service.server:s}:{service.port}/"
method
:
POST
headers
:
content-type
:
application/json
json
:
jsonrpc
:
"
2.0"
id
:
1
method
:
"
bridge.get_account_posts"
params
:
{
"
sort"
:
"
replies"
,
"
account"
:
"
gtg"
,
"
observer"
:
null
}
response
:
status_code
:
200
verify_response_with
:
function
:
validate_response:compare_response_with_pattern
extra_kwargs
:
method
:
"
gtg"
directory
:
"
bridge_api_patterns/get_account_posts"
\ No newline at end of file
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg_posts.pat.json
0 → 100644
View file @
62519c66
This diff is collapsed.
Click to expand it.
hivemind/tavern/bridge_api_patterns/get_account_posts/gtg_posts.tavern.yaml
0 → 100644
View file @
62519c66
---
test_name
:
Hivemind bridge.get_account_posts test
marks
:
-
patterntest
includes
:
-
!include
../../common.yaml
stages
:
-
name
:
get_account_posts
request
:
url
:
"
{service.proto:s}://{service.server:s}:{service.port}/"
method
:
POST
headers
:
content-type
:
application/json
json
:
jsonrpc
:
"
2.0"
id
:
1
method
:
"
bridge.get_account_posts"
params
:
{
"
sort"
:
"
posts"
,
"
account"
:
"
gtg"
,
"
observer"
:
null
}
response
:
status_code
:
200
verify_response_with
:
function
:
validate_response:compare_response_with_pattern
extra_kwargs
:
method
:
"
gtg_posts"
directory
:
"
bridge_api_patterns/get_account_posts"
\ No newline at end of file
hivemind/tavern/bridge_api_patterns/get_account_posts/rollinshive.pat.json
0 → 100644
View file @
62519c66
[]
\ No newline at end of file
hivemind/tavern/bridge_api_patterns/get_account_posts/rollinshive.tavern.yaml
0 → 100644
View file @
62519c66
---
test_name
:
Hivemind bridge.get_account_posts test not existing account (yet)
marks
:
-
patterntest
includes
:
-
!include
../../common.yaml
stages
:
-
name
:
get_account_posts
request
:
url
:
"
{service.proto:s}://{service.server:s}:{service.port}/"
method
:
POST
headers
:
content-type
:
application/json
json
:
jsonrpc
:
"
2.0"
id
:
1
method
:
"
bridge.get_account_posts"
params
:
{
"
sort"
:
"
replies"
,
"
account"
:
"
rollinshive"
,
"
observer"
:
null
}
response
:
status_code
:
200
verify_response_with
:
function
:
validate_response:compare_response_with_pattern
extra_kwargs
:
method
:
"
rollinshive"
directory
:
"
bridge_api_patterns/get_account_posts"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment