def METHOD_NAME(self):
    if not self.options.descriptors:
        return
    self.log.info("Test that encrypting a blank descriptor wallet preserves the blank flag and descriptors remain the same")
    self.nodes[0].createwallet(wallet_name="encblankdesc", blank=True)
    wallet = self.nodes[0].get_wallet_rpc("encblankdesc")
    info = wallet.getwalletinfo()
    assert_equal(info["descriptors"], True)
    assert_equal(info["blank"], True)
    descs = wallet.listdescriptors()
    wallet.encryptwallet("pass")
    assert_equal(wallet.getwalletinfo()["blank"], True)
    assert_equal(descs, wallet.listdescriptors())