Mercurial > hg > htest
view tests/test_htest.py @ 0:26f27678ae32
initial commit
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 09 Sep 2016 16:15:58 -0700 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- """ unit tests for htest """ import os import sys import tempfile import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class htestUnitTest(unittest.TestCase): def test_htest(self): tf = tempfile.mktemp() try: # pass pass finally: if os.path.exists(tf): os.remove(tf) if __name__ == '__main__': unittest.main()