Exemple #1
0
def test_print_usage(capsys):
    console.print_usage()
    out, err = capsys.readouterr()
    assert "toot - a Mastodon CLI client" in out
Exemple #2
0
def test_print_usagecap(capsys):
    console.print_usage()
    out, err = capsys.readouterr()
    assert "toot - interact with Mastodon from the command line" in out