コード例 #1
0
ファイル: test_client.py プロジェクト: mshuler/repoman
def test_help_commands():
    """Make sure help with no args shows commands."""
    assert client.cmd_help() == client.get_commands()
コード例 #2
0
ファイル: test_client.py プロジェクト: GunioRobot/repoman
def test_help_commands():
    """Make sure help with no args shows commands."""
    assert client.cmd_help() == client.get_commands()
コード例 #3
0
ファイル: test_client.py プロジェクト: mshuler/repoman
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
コード例 #4
0
ファイル: test_client.py プロジェクト: GunioRobot/repoman
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