def test_token_assign_name():
    t = Token()
    t.name = 'test'
def test_token_assign_name():
    t = Token('hello', b'world')
    t.name = 'test'
Beispiel #3
0
def test_token_assign_name():
    t = Token()
    t.name = 'test'
Beispiel #4
0
def test_token_assign_name():
    t = Token('hello', b'world')
    t.name = 'test'
def test_token_assign_name():
    with pytest.raises(AttributeError):
        t = Token('hello', u'world')
        t.name = 'test'