Mercurial > hg > SupervisorAdmin
view tests/test_supervisoradmin.py @ 7:aa411d9ff772 default tip
we dont really need which; it is a pain in the ass dep anyway
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 13 Apr 2015 15:47:46 -0700 |
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()