Esempio n. 1
0
def test_validate():
    PlotlyList().validate()
Esempio n. 2
0
def test_validate_error():
    pl = PlotlyList()
    pl.append({})
    pl.validate()
Esempio n. 3
0
def test_blank_trace_instantiation():
    assert PlotlyList([PlotlyDict(), PlotlyDict()]) == list([dict(), dict()])
Esempio n. 4
0
def test_instantiation_error():
    print(PlotlyList([{}]))
Esempio n. 5
0
def test_weird_instantiation():
    print(PlotlyList({}))
Esempio n. 6
0
def test_trivial():
    assert PlotlyList() == list()
Esempio n. 7
0
def test_instantiate_plotly_list():
    PlotlyList()