Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Karwacik
website
Commits
1ab78d68
Commit
1ab78d68
authored
Nov 12, 2018
by
Julian Rother
Browse files
Added test for ro-import
parent
5ff1e0e5
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/test_misc.py
View file @
1ab78d68
...
...
@@ -268,6 +268,9 @@ class VideoTestCase(unittest.TestCase):
r
=
self
.
app
.
post
(
'/internal/import/257'
,
data
=
{
'campus.new.url'
:
'https://www.campus.rwth-aachen.de/rwth/all/event.asp?gguid=0x4664DBD60E5A02479B53089BF0EB0681&tguid=0x0B473CF286B45B4984CD02565C07D6F8'
,
'campus.new.type'
:
'Vorlesung'
})
assert
r
.
status_code
==
200
r
=
self
.
app
.
post
(
'/internal/import/257'
,
data
=
{
'campus.new.url'
:
'https://online.rwth-aachen.de/RWTHonline/pl/ui/%24ctx/wbLv.wbShowLVDetail?pStpSpNr=269474&pSpracheNr=1'
,
'campus.new.type'
:
'Übung'
})
assert
r
.
status_code
==
200
r
=
self
.
app
.
get
(
'/internal/import/257/now'
)
assert
r
.
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