Mercurial > hg > periprocess
view tests/test_periprocess.py @ 0:d28351df9a8a
initial commit from http://k0s.org/hg/config/file/tip/python/example/process.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 30 Nov 2016 12:40:25 -0800 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- """ unit tests for periprocess """ import os import sys import tempfile import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class periprocessUnitTest(unittest.TestCase): def test_periprocess(self): tf = tempfile.mktemp() try: # pass pass finally: if os.path.exists(tf): os.remove(tf) if __name__ == '__main__': unittest.main()