Mercurial > hg > SupervisorAdmin
annotate 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 |
rev | line source |
---|---|
0 | 1 #!/usr/bin/env python |
2 | |
3 """ | |
4 unit tests | |
5 """ | |
6 | |
7 import os | |
8 import sys | |
9 import tempfile | |
10 import unittest | |
11 | |
12 # globals | |
13 here = os.path.dirname(os.path.abspath(__file__)) | |
14 | |
15 class supervisoradminUnitTest(unittest.TestCase): | |
16 | |
17 def test_supervisoradmin(self): | |
18 tf = tempfile.mktemp() | |
19 try: | |
20 # pass | |
21 pass | |
22 finally: | |
23 if os.path.exists(tf): | |
24 os.remove(tf) | |
25 | |
26 if __name__ == '__main__': | |
27 unittest.main() | |
28 |