MCPcopy
hub / github.com/andialbrecht/sqlparse / test_parse_function_param_single_literal

Function test_parse_function_param_single_literal

tests/test_parse.py:124–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122
123
124def test_parse_function_param_single_literal():
125 t = sqlparse.parse('foo(5)')[0].tokens[0].get_parameters()
126 assert len(t) == 1
127 assert t[0].ttype is T.Number.Integer
128
129
130def test_parse_nested_function():

Callers

nothing calls this directly

Calls 1

get_parametersMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…