annotate tests/unit.py @ 5:005e073dc590

basic POC
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Mar 2012 09:53:58 -0700
parents a41537c4284f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/usr/bin/env python
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 unit tests
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 """
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 import os
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 import sys
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 import unittest
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 # globals
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 here = os.path.dirname(os.path.abspath(__file__))
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 class commandparserUnitTest(unittest.TestCase):
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16 def test_commandparser(self):
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 pass
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 if __name__ == '__main__':
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 unittest.main()
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21