Mercurial > hg > sqlex
view tests/test_sqlex.py @ 8:adf056d67c01
ability to export entire db to directory
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 01 Apr 2017 13:01:57 -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()