Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
b0e40791
Commit
b0e40791
authored
May 05, 2020
by
Markus Scheidgen
Browse files
Minor fix.
parent
25050c0b
Pipeline
#74378
passed with stages
in 21 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/app/test_api.py
View file @
b0e40791
...
...
@@ -721,10 +721,10 @@ class TestArchive(UploadFilesBasedTests):
calc_id
=
'test_id'
,
published
=
True
,
with_embargo
=
False
)
entry_metadata
.
a_elastic
.
index
(
refresh
=
True
)
rv
=
api
.
post
(
uri
,
content_type
=
'application/json'
,
data
=
json
.
dumps
(
dict
(
per_page
=
5
,
raise_error
=
True
)))
assert
rv
.
status_code
==
40
1
rv
=
api
.
post
(
uri
,
content_type
=
'application/json'
,
data
=
json
.
dumps
(
dict
(
per_page
=
5
,
raise_error
s
=
True
)))
assert
rv
.
status_code
==
40
4
rv
=
api
.
post
(
uri
,
content_type
=
'application/json'
,
data
=
json
.
dumps
(
dict
(
per_page
=
5
,
raise_error
=
False
)))
rv
=
api
.
post
(
uri
,
content_type
=
'application/json'
,
data
=
json
.
dumps
(
dict
(
per_page
=
5
,
raise_error
s
=
False
)))
assert
rv
.
status_code
==
200
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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