def test_vl_spec_for_text_defaults():

    text = api.Text('foobar')
    assert text.name == 'foobar'
    assert text.type is None
    assert text.timeUnit is None
    assert text.bin is False
    assert text.sort == []
    assert text.aggregate is None
    assert text.scale is None
    assert text.align == 'right'
    assert text.baseline == 'middle'
    assert text.color == '#000000'
    assert text.margin == 4
    assert text.placeholder == 'Abc'
    assert text.font is None
    assert text.format is None

    text = api.Text('foobar:O')
    assert text.name == 'foobar'
    assert text.type == 'O'
    assert text.timeUnit is None
    assert text.bin is False
    assert text.sort == []
    assert text.aggregate is None
    assert text.scale is None
    assert text.align == 'right'
    assert text.baseline == 'middle'
    assert text.color == '#000000'
    assert text.margin == 4
    assert text.placeholder == 'Abc'
    assert text.font is None
    assert text.format is None

    text = api.Text('sum(foobar):O')
    assert text.name == 'foobar'
    assert text.type == 'O'
    assert text.timeUnit is None
    assert text.bin is False
    assert text.sort == []
    assert text.aggregate == 'sum'
    assert text.scale is None
    assert text.align == 'right'
    assert text.baseline == 'middle'
    assert text.color == '#000000'
    assert text.margin == 4
    assert text.placeholder == 'Abc'
    assert text.font is None
    assert text.format is None
Checks to see if the Session Token is expired or not.  By default
dataset/ETHPy150Open ellisonbg/altair/altair/tests/test_api.py/test_vl_spec_for_text_defaults--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/sts/credentials.py/Credentials.is_expired