diff options
Diffstat (limited to 'chimere/tests.py')
-rw-r--r-- | chimere/tests.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chimere/tests.py b/chimere/tests.py index ca93546..e192bcc 100644 --- a/chimere/tests.py +++ b/chimere/tests.py @@ -349,6 +349,17 @@ class JsonImporterTest(TestCase, ImporterTest): self.marker_importers = [(importer1, 5), ] +class IcalImporterTest(TestCase, ImporterTest): + def setUp(self): + subcategories = subcategory_setup() + icsfile = File(open(test_dir_path + 'tests/test.ics')) + importer1 = Importer.objects.create( + importer_type='ICAL', + source_file=icsfile,) + importer1.categories.add(subcategories[0]) + self.marker_importers = [(importer1, 1), ] + + class FeedsTest(TestCase): def setUp(self): self.areas = areas_setup() |