Skip to content
Snippets Groups Projects
Commit 96c6cd1a authored by Andreas Valder's avatar Andreas Valder
Browse files

fixed tests for legacy urls

parent 856f1d65
Branches
No related tags found
No related merge requests found
......@@ -202,13 +202,13 @@ class VideoTestCase(unittest.TestCase):
assert r.status_code == 302
assert url_for('feed', handle='16ws-afi') in r.data.decode()
r = self.app.get('/site/feed.php?lecture=7319')
r = self.app.get('/site/embed.php?lecture=7319')
assert r.status_code == 302
assert False # missing
assert url_for('embed', id='7319', course='16ws-progra') in r.data.decode()
r = self.app.get('/site/feed.php?vid=6088')
r = self.app.get('/site/embed.php?vid=6088')
assert r.status_code == 302
assert False # missing
assert url_for('embed', id='4105', course='14ws-ex3') in r.data.decode()
if __name__ == '__main__':
unittest.main()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment