Skip to content

Error with tests on 0.78 #101

@Nabellaleen

Description

@Nabellaleen
======================================================================
ERROR: test_ends_with_semicolon (test_web.CookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/projects/bepatient/mobi/sources/itools/test/test_web.py", line 157, in test_ends_with_semicolon
    expected = {'language': Cookie('en')}
TypeError: __init__() takes at least 3 arguments (2 given)

======================================================================
ERROR: test_example1 (test_web.CookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/projects/bepatient/mobi/sources/itools/test/test_web.py", line 101, in test_example1
    expires='Wednesday, 09-Nov-99 23:12:40 GMT')}
TypeError: __init__() takes at least 3 arguments (4 given)

======================================================================
ERROR: test_garbage (test_web.CookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/projects/bepatient/mobi/sources/itools/test/test_web.py", line 163, in test_garbage
    expected = {'a': Cookie('1'), 'b': Cookie('2')}
TypeError: __init__() takes at least 3 arguments (2 given)

======================================================================
ERROR: test_google (test_web.CookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/projects/bepatient/mobi/sources/itools/test/test_web.py", line 135, in test_google
    '__utma': Cookie('148580960.1549592533.1131137049.1200608996.1200962259.202'),
TypeError: __init__() takes at least 3 arguments (2 given)

======================================================================
ERROR: test_last_is_empty (test_web.CookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/projects/bepatient/mobi/sources/itools/test/test_web.py", line 151, in test_last_is_empty
    expected = {'areyourcookiesenabled': Cookie('')}
TypeError: __init__() takes at least 3 arguments (2 given)

======================================================================
ERROR: test_set_cookie_decode_encode_decode (test_web.CookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florian/projects/bepatient/mobi/sources/itools/test/test_web.py", line 78, in test_set_cookie_decode_encode_decode
    b = SetCookieDataType.decode(a)
  File "/home/florian/.local/share/virtualenvs/mobi/lib/python2.7/site-packages/itools/datatypes/base.py", line 45, in decode
    raise NotImplementedError
NotImplementedError

----------------------------------------------------------------------
Ran 410 tests in 0.376s

FAILED (errors=6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions