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:
commit
963fcf0af1
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue