Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
7159b4a8
Commit
7159b4a8
authored
Feb 25, 2019
by
Pablo Panero
Browse files
tests: add UI load test
parent
430feafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_ui.py
0 → 100644
View file @
7159b4a8
import
pytest
import
requests
@
pytest
.
mark
.
unit
def
test_default_search_field
(
endpoint
,
api_key
):
# Check the UI does not generate 50X Errors
resp
=
requests
.
post
(
'{endpoint}/account/settings/applications/'
.
format
(
endpoint
=
endpoint
))
assert
resp
.
status_code
==
200
Write
Preview
Supports
Markdown
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