Exemplo n.º 1
0
def test_help_commands():
    """Make sure help with no args shows commands."""
    assert client.cmd_help() == client.get_commands()
Exemplo n.º 2
0
def test_help_commands():
    """Make sure help with no args shows commands."""
    assert client.cmd_help() == client.get_commands()
Exemplo n.º 3
0
def test_bad_docs():
    """Make sure help works even if docblocks are missing."""
    client.cmd_fake = lambda: None
    help_str = client.get_commands()
    assert "fake" in help_str
Exemplo n.º 4
0
def test_bad_docs():
    """Make sure help works even if docblocks are missing."""
    client.cmd_fake = lambda: None
    help_str = client.get_commands()
    assert "fake" in help_str