summaryrefslogtreecommitdiff
path: root/chimere/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/tests.py')
-rw-r--r--chimere/tests.py18
1 files changed, 3 insertions, 15 deletions
diff --git a/chimere/tests.py b/chimere/tests.py
index 6793234..548bc84 100644
--- a/chimere/tests.py
+++ b/chimere/tests.py
@@ -299,24 +299,12 @@ class OSMImporterTest(TestCase, ImporterTest):
def setUp(self):
subcategories = subcategory_setup()
marker_setup()
- importer1 = Importer.objects.create(
- importer_type='OSM',
- source=test_dir_path + 'tests/sample_nodes.osm')
- importer1.categories.add(subcategories[0])
- importer2 = Importer.objects.create(
- importer_type='OSM',
- source=test_dir_path + 'tests/sample_ways.osm')
- importer2.categories.add(subcategories[1])
importer3 = Importer.objects.create(
importer_type='OSM',
- source='http://open.mapquestapi.com/xapi/api/0.6/way'
- '[highway=motorway]'
- '[bbox=2.0393839939136975,48.68908639634696,'
- '2.3140421970277316,48.790972349390415]')
-
- self.marker_importers = [(importer1, 19), (importer2, 8),
- (importer3, None)]
+ source='node["railway"="station"](41.55,0.95855712890625,42,1.2);'
+ 'out;')
+ self.marker_importers = [(importer3, 4)]
class GeoRSSImporterTest(TestCase, ImporterTest):