Esempio n. 1
0
def test_token_assign_other():
    t = Token()
    t.blabla = 'test'
Esempio n. 2
0
def test_token_assign_other():
    t = Token('hello', b'world')
    t.blabla = 'test'
Esempio n. 3
0
def test_token_assign_other():
    t = Token()
    t.blabla = 'test'
Esempio n. 4
0
def test_token_assign_other():
    t = Token('hello', b'world')
    t.blabla = 'test'
Esempio n. 5
0
def test_token_assign_other():
    with pytest.raises(AttributeError):
        t = Token('hello', u'world')
        t.blabla = 'test'