def generate(cls):
        """
        Generate a Slice configuration for each layout currently in the repo.
        Each layout is made a delegate/fallback layout of the Slice layout.
        Each configuration has only the tested layout (i.e. 1 item) in the
        'layouts' variable.
        """
        return [
            type(
                layout_name,
                (cls,),
                {"layouts": [layout.slice.Slice(wname="nevermatch", fallback=layout_cls())]},
            )
            for layout_name, layout_cls in cls.iter_layouts()
        ]

        Generate a Slice configuration for each layout currently in the repo.
        Each layout is made a delegate/fallback layout of the Slice layout.
        Each configuration has only the tested layout (i.e. 1 item) in the
        'layouts' variable.
        
test/layouts/test_common.py