class BaseExportFormatterTest(unittest.TestCase): def setUp(self): self.options = { } self.export_formatter = BaseExportFormatter(self.options) def test_format_not_implemented(self): with self.assertRaises(NotImplementedError): self.export_formatter.format({})
def setUp(self): self.options = { } self.export_formatter = BaseExportFormatter(self.options)