Mercurial > hg > GlobalNeighbors
view tests/common.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 | 1b94f3bf97e5 |
children |
line wrap: on
line source
""" common test functionality """ import os here = os.path.dirname(os.path.abspath(__file__)) data = os.path.join(here, 'data') def datafile(*path): """return path to a test data file""" return os.path.join(data, *path)