mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 13:20:59 +00:00
Fix cookie test!
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3728 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f04a690380
commit
017b73db27
1 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ class TestCookies (unittest.TestCase):
|
|||
self.assertEqual(scheme, "http")
|
||||
self.assertEqual(host, "example.org")
|
||||
self.assertEqual(path, "/hello")
|
||||
self.assertEqual(len(headers), 4)
|
||||
self.assertEqual(len(headers.headers), 4)
|
||||
|
||||
def test_cookie_parse2 (self):
|
||||
lines = [
|
||||
|
|
@ -189,7 +189,7 @@ class TestCookies (unittest.TestCase):
|
|||
self.assertEqual(scheme, "https")
|
||||
self.assertEqual(host, "example.org")
|
||||
self.assertEqual(path, "/")
|
||||
self.assertEqual(len(headers), 3)
|
||||
self.assertEqual(len(headers.headers), 3)
|
||||
|
||||
def test_cookie_parse3 (self):
|
||||
lines = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue