Mercurial > hg > GlobalNeighbors
view tests/test_globalneighbors.py @ 14:27925261c137
fix broken tests including an aggregious case where we add ourselves as a neighbor to ourself
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 25 Jun 2017 14:29:18 -0700 |
parents | 5dba84370182 |
children |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- """ unit tests for globalneighbors """ import os import sys import tempfile import unittest # globals here = os.path.dirname(os.path.abspath(__file__)) class globalneighborsUnitTest(unittest.TestCase): def test_globalneighbors(self): tf = tempfile.mktemp() try: # pass pass finally: if os.path.exists(tf): os.remove(tf) if __name__ == '__main__': unittest.main()