def test_validate(): PlotlyTrace().validate()
def test_validate_error(): trace = PlotlyTrace() trace['invalid'] = 'something' trace.validate()
def test_trivial(): assert PlotlyTrace() == dict()