Mercurial > hg > SupervisorAdmin
view tests/test_supervisoradmin.py @ 3:350e4298e116
add stopwaitsec
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 09 Feb 2015 13:11:09 -0800 |
parents | e58db0f06ed8 |
children |
line wrap: on
line source
#!/usr/bin/env python """ unit tests """ import os import sys import tempfile import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class supervisoradminUnitTest(unittest.TestCase): def test_supervisoradmin(self): tf = tempfile.mktemp() try: # pass pass finally: if os.path.exists(tf): os.remove(tf) if __name__ == '__main__': unittest.main()