def test_nested_group2(self): logload.parse(logload.tokenize('( "foo", [ "bar", "baz" ] )'))
def test_simple_group(self): logload.parse(logload.tokenize("[ \"foobar\", randword, timestamp ]"))
def test_nested_group1(self): logload.parse(logload.tokenize('( [ "bar", "baz" ] )'))
def test_nonexisting_function(self): with self.assertRaises(NoParseError): logload.parse(logload.tokenize('"foobar", blorp'))
def test_empty_group(self): logload.parse(logload.tokenize('[ ]'))
def test_list_string(self): logload.parse(logload.tokenize("( \"foobar\" )"))
def test_empty_list(self): logload.parse(logload.tokenize("( )"))
def test_empty(self): with self.assertRaises(NoParseError): logload.parse(logload.tokenize(""))