Example #1
0
def test_payment_init_requestor_mode(yagna_container):
    """Test `payment init --sender`."""

    yagna = Cli(yagna_container).yagna

    yagna.payment_init(sender_mode=True)
Example #2
0
def test_payment_init(yagna_container):
    """Test basic usage of `payment init` command."""

    yagna = Cli(yagna_container).yagna

    yagna.payment_init()
Example #3
0
def test_payment_init_provider_mode(yagna_container):
    """Test `payment init --receiver`."""

    yagna = Cli(yagna_container).yagna

    yagna.payment_init(receiver_mode=True)