annotate tests/unit.py @ 1:1981f44ca250 default tip

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