38
|
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 fieldsUnitTest(unittest.TestCase):
|
|
16
|
|
17 def test_fields(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
|