Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andreas Rimolsrønning
tdt4242-base
Commits
a78cded1
Commit
a78cded1
authored
Apr 19, 2021
by
Einar Uvsløkk
Browse files
Add comment explaining why test is failing
parent
fb04c43b
Pipeline
#129612
passed with stage
in 1 minute and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backend/secfit/workouts/tests/test_views.py
View file @
a78cded1
...
...
@@ -194,6 +194,9 @@ class WorkoutDetailTest(APITestCase):
data
=
self
.
serialize
(
workout
)
self
.
assertEqual
(
len
(
data
[
"files"
]),
0
)
# FIXME Properly include a file object in the payload
# As of now the file object is added to the payload, but is not present
# in the returned API response.
file_path
=
data_dir
/
"test-file.txt"
file_obj
=
SimpleUploadedFile
(
file_path
.
name
,
...
...
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