def test_grammar_typechecking(self):

        grammar_types = [('data', [str]), ('field', [str])]
        assert_grammar_typechecking(grammar_types, DataRef())
Test grammar of DataRef
dataset/ETHPy150Open wrobstory/vincent/tests/test_vega.py/TestDataRef.test_grammar_typechecking