mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-01 18:52:23 +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()
|
super(ServerTestCase, self).setUp()
|
||||||
|
|
||||||
def test_unprefixed(self):
|
def test_unprefixed(self):
|
||||||
|
run.app.config['APPLICATION_ROOT'] = '/'
|
||||||
req = self.app.get("/foo/")
|
req = self.app.get("/foo/")
|
||||||
self.assertStatus(303, req)
|
self.assertStatus(303, req)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue