Drop get_airports "Test"

pull/50/head
Meisterschueler 2016-05-18 13:30:47 +02:00
rodzic c9c464986c
commit 81b80559e4
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
import unittest
import unittest.mock as mock
from ogn.utils import get_ddb, get_trackable, get_country_code, get_airports
from ogn.utils import get_ddb, get_trackable, get_country_code
from ogn.model import AddressOrigin
@ -45,10 +45,6 @@ class TestStringMethods(unittest.TestCase):
country_code = get_country_code(latitude, longitude)
self.assertEqual(country_code, None)
def test_get_airports(self):
airports = get_airports('tests/Germany.cup')
self.assertGreater(len(airports), 100)
@mock.patch('ogn.utils.Nominatim')
def test_gec_country_code_exception(self, nominatim_mock):
from geopy.exc import GeocoderTimedOut