changeset 2:50ee13cddf58

remove this test; the datafile was too large
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Jun 2017 14:04:00 -0700
parents 1b94f3bf97e5
children 49aae0c0293b
files tests/test_deteremine_distances.py
diffstat 1 files changed, 0 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_deteremine_distances.py	Sat Jun 24 14:02:14 2017 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-#!/usr/bin/env python
-
-"""
-test converstion: geoids intermediary to distances
-"""
-
-import json
-import os
-import unittest
-from globalneighbors.determine_distances import geoids2distances
-
-here = os.path.dirname(os.path.abspath(__file__))
-data = os.path.join(here, 'data')
-
-class DetermineDistncesTest(unittest.TestCase):
-
-    # full dataset:  test with caution
-    full_tsv = os.path.join(data, 'cities1000.txt')
-    full_tsv_lines = 149092
-
-    # neighbors within +/- 1 degree lat or lon from each other
-    twodegrees = os.path.join(data, '2degrees.json')
-
-    def test_2degrees(self):
-        """test cities within 2 degrees lat, lon of each other"""
-
-        # ensure our fixtures exist
-        assert os.path.exists(self.full_tsv)
-        assert os.path.exists(self.twodegrees)
-
-        # read neighbors file
-        with open(self.twodegrees) as f:
-            twodegrees = json.loads(f.read())
-
-
-if __name__ == '__main__':
-    unittest.main()