Mercurial > hg > sqlex
view tests/test_sqlex.py @ 3:5f1e1ac96aa7
stub works with SELECT
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 01 Apr 2017 09:19:22 -0700 |
parents | a05c70cc24be |
children |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- """ unit tests for sqlex """ import os import sys import tempfile import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class sqlexUnitTest(unittest.TestCase): def test_sqlex(self): tf = tempfile.mktemp() try: # pass pass finally: if os.path.exists(tf): os.remove(tf) if __name__ == '__main__': unittest.main()