def test_token_assign_other(): t = Token() t.blabla = 'test'
def test_token_assign_other(): t = Token('hello', b'world') t.blabla = 'test'
def test_token_assign_other(): with pytest.raises(AttributeError): t = Token('hello', u'world') t.blabla = 'test'