Exemple #1
0
def test_cases_list_command_returns_success_return_code(
        runner, integration_test_profile):
    command = "cases list"
    assert_test_is_successful(runner, append_profile(command))
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))
Exemple #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))
Exemple #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))