def METHOD_NAME(self, repo_dir, variant=None, skip_branding=False):
    """Run the get_branding function in a test repo"""
    with tempfile.TemporaryDirectory(prefix="lorax.test.") as root_dir:
        dbo = get_dnf_base_object(root_dir, ["file://"+repo_dir], enablerepos=[], disablerepos=[])
        self.assertTrue(dbo is not None)
        product = DataHolder(name="Fedora", version="33", release="33",
                             variant=variant, bugurl="http://none", isfinal=True)
        arch = ArchData(os.uname().machine)
        rb = RuntimeBuilder(product, arch, dbo, skip_branding=skip_branding)
        return rb._branding