Skip to content
Snippets Groups Projects
Commit 1ab78d68 authored by Julian Rother's avatar Julian Rother
Browse files

Added test for ro-import

parent 5ff1e0e5
No related branches found
No related tags found
No related merge requests found
...@@ -268,6 +268,9 @@ class VideoTestCase(unittest.TestCase): ...@@ -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'}) 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 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') r = self.app.get('/internal/import/257/now')
assert r.status_code == 200 assert r.status_code == 200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment