mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 07:12:58 +02:00
py3: misc fixes
This commit is contained in:
parent
3d795076c6
commit
440d174284
1 changed files with 2 additions and 2 deletions
|
|
@ -294,8 +294,8 @@ def test_android_auth_workaround(self): # {{{
|
|||
cookies = tuple(cj)
|
||||
self.ae(len(cookies), 1)
|
||||
cookie = cookies[0]
|
||||
self.assertIn(b':', cookie.value)
|
||||
self.ae(cookie.path, b'/android')
|
||||
self.assertIn(':', cookie.value)
|
||||
self.ae(cookie.path, '/android')
|
||||
r = build_opener(cookie_handler).open(url)
|
||||
self.ae(r.getcode(), http_client.OK)
|
||||
self.ae(r.read(), b'android')
|
||||
|
|
|
|||
Loading…
Reference in a new issue