コード例 #1
0
ファイル: test_cases.py プロジェクト: code42/code42cli
def test_cases_list_command_returns_success_return_code(
        runner, integration_test_profile):
    command = "cases list"
    assert_test_is_successful(runner, append_profile(command))
コード例 #2
0
def test_auditlogs_search_command_with_full_begin_returns_success_return_code(
    runner,
    integration_test_profile,
):
    command = "audit-logs search --begin '{}'".format(begin_date_str)
    assert_test_is_successful(runner, append_profile(command))
コード例 #3
0
def test_high_risk_employee_list_command_returns_success_return_code(
        runner, integration_test_profile):
    command = "high-risk-employee list"
    assert_test_is_successful(runner, append_profile(command))
コード例 #4
0
def test_alert_rules_show_command_returns_success_return_code(
        runner, integration_test_profile):
    command = ("alert-rules show test-rule-id", )
    assert_test_is_successful(runner, append_profile(command))