Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
622942ba
Commit
622942ba
authored
Jul 08, 2016
by
HERBERT Ryan
Browse files
tests/file.py add missing request var for testDelete
parent
d34bcb64
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/tests/controllers/file.py
View file @
622942ba
...
...
@@ -138,6 +138,7 @@ class FileController(unittest.TestCase):
self
.
assertTrue
(
db
.
sequence_file
[
test_file_id
].
filename
==
"babibou"
,
"file have been added"
)
request
.
vars
[
'id'
]
=
test_file_id
request
.
vars
[
'redirect_sample_set_id'
]
=
fake_sample_set_id
resp
=
delete
()
self
.
assertTrue
(
db
.
sequence_file
[
test_file_id
].
data_file
==
None
,
"file only should have been deleted"
)
...
...
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