def test_extensions(self):
        self.site.external_manager.register_processor(ExtensionDummyProc)
        self.site.build()

        for static in self.site.static():
            if static.src_filename == self.dummy_static:
                self.assertEqual(static.final_extension, ExtensionDummyProc.output_extension)
                break
        else:
            self.fail("Did not find {0}".format(self.dummy_static))
Test that processors extensions are taken into account
dataset/ETHPy150Open koenbok/Cactus/cactus/tests/test_external.py/TestStaticExternals.test_extensions