Mercurial > hg > sqlex
view tests/test_sqlex.py @ 5:3a7f515571dc
can list column names
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 01 Apr 2017 11:11:28 -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()