Mercurial > hg > htest
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_htest.py Fri Sep 09 16:15:58 2016 -0700 @@ -0,0 +1,29 @@ +#!/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() +