aboutsummaryrefslogtreecommitdiffstats
path: root/test/t_queryparse.py
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2021-07-25 23:50:50 -0400
committerGravatar - 2021-07-26 22:55:45 -0400
commit04063088250ff17e7f5f5314b6c06ddd0124769d (patch)
tree3e6a4d63c177d1b77161a52f5830ded2f76c5762 /test/t_queryparse.py
parentmove SQL schema setup to variable (diff)
start query parser
Diffstat (limited to 'test/t_queryparse.py')
-rwxr-xr-xtest/t_queryparse.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/t_queryparse.py b/test/t_queryparse.py
new file mode 100755
index 0000000..9bf0511
--- /dev/null
+++ b/test/t_queryparse.py
@@ -0,0 +1,10 @@
+#!/usr/bin/python3
+import sys
+sys.path.insert(0, "../")
+import queryparse
+
+def f(x):
+ print(x)
+ print(queryparse.parse(x))
+
+f(["x", "OR", "y"])