def METHOD_NAME(self) -> None:
    with open("test.conf", "w") as testconfig_handle:
        testconfig_handle.write("[mirror]\nhash-index=false\n")
    instance = BandersnatchConfig()
    instance.config_file = "test.conf"
    instance.load_configuration()
    self.assertFalse(instance.config["mirror"].getboolean("hash-index"))