Open
Description
======================================================================
ERROR: test_header_set_cookie (test_seasurf.SeaSurfTestCaseSetCookie.test_header_set_cookie)
Test that the Set-Cookie header was passed on a new request
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/source/test_seasurf.py", line 731, in test_header_set_cookie
client.cookie_jar.clear()
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict_values' object has no attribute 'clear'
======================================================================
ERROR: test_header_set_on_post (test_seasurf.SeaSurfTestCaseSetCookie.test_header_set_on_post)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/source/test_seasurf.py", line 746, in test_header_set_on_post
if cookie.name == self.csrf._csrf_name:
^^^^^^^^^^^
AttributeError: 'Cookie' object has no attribute 'name'
======================================================================
FAIL: test_https_good_referer (test_seasurf.SeaSurfTestCase.test_https_good_referer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/source/test_seasurf.py", line 156, in test_https_good_referer
self.assertEqual(rv.status_code, 200)
AssertionError: 403 != 200
======================================================================
FAIL: test_https_referer_check_disabled (test_seasurf.SeaSurfTestCaseReferer.test_https_referer_check_disabled)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/source/test_seasurf.py", line 663, in test_https_referer_check_disabled
self.assertEqual(200, rv.status_code)
AssertionError: 200 != 403
Metadata
Metadata
Assignees
Labels
No labels