Mercurial > hg > GlobalNeighbors
comparison tests/test_globalneighbors.py @ 0:5dba84370182
initial commit; half-working prototype
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Sat, 24 Jun 2017 12:03:39 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:5dba84370182 |
|---|---|
| 1 #!/usr/bin/env python | |
| 2 # -*- coding: utf-8 -*- | |
| 3 | |
| 4 """ | |
| 5 unit tests for globalneighbors | |
| 6 """ | |
| 7 | |
| 8 import os | |
| 9 import sys | |
| 10 import tempfile | |
| 11 import unittest | |
| 12 | |
| 13 # globals | |
| 14 here = os.path.dirname(os.path.abspath(__file__)) | |
| 15 | |
| 16 class globalneighborsUnitTest(unittest.TestCase): | |
| 17 | |
| 18 def test_globalneighbors(self): | |
| 19 tf = tempfile.mktemp() | |
| 20 try: | |
| 21 # pass | |
| 22 pass | |
| 23 finally: | |
| 24 if os.path.exists(tf): | |
| 25 os.remove(tf) | |
| 26 | |
| 27 if __name__ == '__main__': | |
| 28 unittest.main() | |
| 29 |
