diff options
Diffstat (limited to 'chimere/tests.py')
| -rw-r--r-- | chimere/tests.py | 11 | 
1 files changed, 10 insertions, 1 deletions
| diff --git a/chimere/tests.py b/chimere/tests.py index b3ad3fb..ddd59b1 100644 --- a/chimere/tests.py +++ b/chimere/tests.py @@ -117,7 +117,7 @@ class KMLImporterTest(TestCase, ImporterTest):           source=test_dir_path+'tests/sample.kml.zip', zipped=True)          importer4.categories.add(subcategory_1) -        self.marker_importers = [(importer1, 1), (importer2, 2), (importer3, 0), +        self.marker_importers = [(importer1, 1), (importer2, 3), (importer3, 0),                                   (importer4, 4)]  class ShapefileImporterTest(TestCase, ImporterTest): @@ -152,6 +152,15 @@ class OSMImporterTest(TestCase, ImporterTest):          self.marker_importers = [(importer1, 19), (importer2, 8)] +class GeoRSSImporterTest(TestCase, ImporterTest): +    def setUp(self): +        subcategory_1, subcategory_2 = subcategory_setup() +        importer1 = Importer.objects.create(importer_type='RSS', +                         source=test_dir_path+'tests/georss.xml') +        importer1.categories.add(subcategory_1) + +        self.marker_importers = [(importer1, 1)] +  class FeedsTest(TestCase):      def setUp(self):          self.area = area_setup() | 
