Mercurial > hg > SupervisorAdmin
view tests/test_supervisoradmin.py @ 4:8a6ee9df8ae5
moving towards service restart
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 13 Apr 2015 12:04:00 -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()