1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Merge pull request #166 from JocelynDelalande/jd-fix-prefixed-test

Fix ServerTestCase.test_unprefixed test
This commit is contained in:
Alexis Metaireau 2017-01-17 09:34:47 +01:00 committed by GitHub
commit 963fcf0af1

View file

@ -974,6 +974,7 @@ class ServerTestCase(APITestCase):
super(ServerTestCase, self).setUp()
def test_unprefixed(self):
run.app.config['APPLICATION_ROOT'] = '/'
req = self.app.get("/foo/")
self.assertStatus(303, req)