Mercurial > hg > htest
view tests/test_htest.py @ 1:f3e18bcfb90b default tip
more stubbing
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 09 Sep 2016 16:20:35 -0700 |
parents | 26f27678ae32 |
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()