annotate tests/test_lemuriformes.py @ 4:9575c4a925c1

[setup] correct various dependencies + scripts
author Jeff Hammel <k0scist@gmail.com>
date Sun, 10 Dec 2017 11:49:47 -0800
parents 7a4a073ee13e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 #!/usr/bin/env python
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 """
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
5 unit tests for lemuriformes
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
6 """
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
7
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
8 import os
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
9 import sys
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
10 import tempfile
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
11 import unittest
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
12
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
13 # globals
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
14 here = os.path.dirname(os.path.abspath(__file__))
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
15
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16 class lemuriformesUnitTest(unittest.TestCase):
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
17
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
18 def test_lemuriformes(self):
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
19 tf = tempfile.mktemp()
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
20 try:
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
21 # pass
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
22 pass
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
23 finally:
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
24 if os.path.exists(tf):
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
25 os.remove(tf)
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
26
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
27 if __name__ == '__main__':
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
28 unittest.main()
7a4a073ee13e initial commit
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
29