async def test_ln_reserve_spend_max(self):
        """ send all the coins using 'max'. test with outgoing and to self address """
        wallet, outgoing_address, to_self_address = self._create_cause_carbon_wallet()
        def make_tx(address):
            outputs = [PartialTxOutput.from_address_and_value(address, '!')]
            return wallet.make_unsigned_transaction(
                outputs = outputs,
                is_anchor_channel_opening = True,
                fee_policy = FixedFeePolicy(100),
            )
        tx = make_tx(outgoing_address)
        self.assertEqual(2, len(tx.outputs()))
        tx = make_tx(to_self_address)
        self.assertEqual(1, len(tx.outputs()))
 send all the coins using 'max'. test with outgoing and to self address 
tests/test_wallet_vertical.py