Commits

Armin Ronacher committed f4d1fc3

Fixed a typo that broke a test and multiple cookies in test client

Comments (0)

Files changed (2)

tests/test_test.py

     resp = client.get('/')
     assert resp.data == '[]'
     resp = client.get('/')
-    assert resp.data == "[('test1', u'foo,'), ('test2', u'bar')]"
+    assert resp.data == "[('test1', u'foo'), ('test2', u'bar')]"
         for cookie in self:
             cvals.append('%s=%s' % (cookie.name, cookie.value))
         if cvals:
-            environ['HTTP_COOKIE'] = ', '.join(cvals)
+            environ['HTTP_COOKIE'] = '; '.join(cvals)
 
     def extract_wsgi(self, environ, headers):
         """Extract the server's set-cookie headers as cookies into the