Skip to content

add missing tests #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/integration/test_alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def test_alerts_send_to_returns_success_return_code(
assert result.exit_code == 0


@pytest.mark.integration
def test_alerts_advanced_query_returns_success_return_code(
runner, integration_test_profile
):
Expand Down
1 change: 1 addition & 0 deletions tests/integration/test_auditlogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_auditlogs_search_command_with_short_hand_begin_returns_success_return_c
assert_test_is_successful(runner, append_profile(command))


@pytest.mark.integration
def test_auditlogs_search_command_with_full_begin_returns_success_return_code(
runner, integration_test_profile,
):
Expand Down
11 changes: 11 additions & 0 deletions tests/integration/test_departing_employee.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pytest
from tests.integration.conftest import append_profile
from tests.integration.util import assert_test_is_successful


@pytest.mark.integration
def test_departing_employee_list_command_returns_success_return_code(
runner, integration_test_profile
):
command = "departing-employee list"
assert_test_is_successful(runner, append_profile(command))
11 changes: 11 additions & 0 deletions tests/integration/test_high_risk_employee.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pytest
from tests.integration.conftest import append_profile
from tests.integration.util import assert_test_is_successful


@pytest.mark.integration
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))
1 change: 1 addition & 0 deletions tests/integration/test_legal_hold.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_legal_hold_list_command_returns_success_return_code(
assert_test_is_successful(runner, append_profile(command))


@pytest.mark.integration
def test_legal_hold_show_command_returns_success_return_code(
runner, integration_test_profile
):
Expand Down