Create a CookieJar on __init__ instead of creating a new one each post
Fixes #1505
This commit is contained in:
@@ -110,7 +110,7 @@ class TestWeb(LiveTest):
|
||||
self.assertTrue('Welcome Homer' in client.text)
|
||||
|
||||
client = WebClient('http://127.0.0.1:8000/admin/default/')
|
||||
client.post('index', data=dict(password='hello'))
|
||||
client.post('index', data=dict(password='testpass'))
|
||||
client.get('site')
|
||||
client.get('design/welcome')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user