def test_report_writer_populator_provide(): with override_provides("report_writer_populator", ["shuup.reports.writer.populate_default_writers"]): populator = ReportWriterPopulator() populator.populate() for k, v in REPORT_WRITERS_MAP.items(): assert populator.populated_map[k] == v
def test_report_writer_populator_provide(): with override_provides("report_writer_populator", [ "shuup.reports.writer.populate_default_writers" ]): populator = ReportWriterPopulator() populator.populate() for k, v in REPORT_WRITERS_MAP.items(): assert populator.populated_map[k] == v