def setUp(self):
     super(StaticfileExtractorTestCase, self).setUp()
     self.extractor = StaticJSONDumpExtractor(self.source_definition)
 def test_no_dump_path_set(self):
     source_def = self.source_definition
     source_def.pop('dump_path')
     with self.assertRaises(ConfigurationError) as cm:
         StaticJSONDumpExtractor(self.source_definition)