def test_grammar_typechecking(self):

        grammar_types = [('name', [str]), ('type', [str]),
                         ('domain', [list, DataRef]),
                         ('domain_min', [float, int, DataRef]),
                         ('domain_max', [float, int, DataRef]),
                         ('range', [list, str]),
                         ('range_min', [float, int, DataRef]),
                         ('range_max', [float, int, DataRef]),
                         ('reverse', [bool]), ('round', [bool]),
                         ('points', [bool]), ('clamp', [bool]),
                         ('nice', [bool, str]),
                         ('exponent', [float, int]),
                         ('zero', [bool])]

        assert_grammar_typechecking(grammar_types, Scale())
Grant permission on this user to creator.
dataset/ETHPy150Open wrobstory/vincent/tests/test_vega.py/TestScale.test_grammar_typechecking--crossover with--dataset/ETHPy150Open tonioo/modoboa/modoboa/core/models.py/User.post_create