annotate tests/unit.py @ 0:ee1c34d2f1c4

initial commit
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Mar 2014 19:01:54 -0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 #!/usr/bin/env python
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3 """
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 unit tests
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5 """
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
7 import os
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
8 import sys
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
9 import unittest
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
10
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
11 # globals
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
12 here = os.path.dirname(os.path.abspath(__file__))
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
13
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
14 class abbrevUnitTest(unittest.TestCase):
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
15
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16 def test_abbrev(self):
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
17 pass
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
18
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
19 if __name__ == '__main__':
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
20 unittest.main()
ee1c34d2f1c4 initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
21