Mercurial > hg > SupervisorAdmin
view tests/test_supervisoradmin.py @ 2:1792871b4302
correct path to script
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 12:19:54 -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()