annotate tests/unit.py @ 4:88de10f30442 default tip

fun
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 22 Jun 2013 10:05:16 -0700
parents 02b140ae3e78
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/usr/bin/env python
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 unit tests
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 """
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 import os
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 import sys
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 import unittest
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 # globals
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 here = os.path.dirname(os.path.abspath(__file__))
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 class disparityUnitTest(unittest.TestCase):
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16 def test_disparity(self):
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 pass
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 if __name__ == '__main__':
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 unittest.main()
02b140ae3e78 the dumping ground begins
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21