Skip to content

Commit 7db23b4

Browse files
author
Juliya Smith
authored
add missing tests (#242)
1 parent 90f08ea commit 7db23b4

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

tests/integration/test_alerts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test_alerts_send_to_returns_success_return_code(
3838
assert result.exit_code == 0
3939

4040

41+
@pytest.mark.integration
4142
def test_alerts_advanced_query_returns_success_return_code(
4243
runner, integration_test_profile
4344
):

tests/integration/test_auditlogs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_auditlogs_search_command_with_short_hand_begin_returns_success_return_c
3939
assert_test_is_successful(runner, append_profile(command))
4040

4141

42+
@pytest.mark.integration
4243
def test_auditlogs_search_command_with_full_begin_returns_success_return_code(
4344
runner, integration_test_profile,
4445
):
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import pytest
2+
from tests.integration.conftest import append_profile
3+
from tests.integration.util import assert_test_is_successful
4+
5+
6+
@pytest.mark.integration
7+
def test_departing_employee_list_command_returns_success_return_code(
8+
runner, integration_test_profile
9+
):
10+
command = "departing-employee list"
11+
assert_test_is_successful(runner, append_profile(command))
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import pytest
2+
from tests.integration.conftest import append_profile
3+
from tests.integration.util import assert_test_is_successful
4+
5+
6+
@pytest.mark.integration
7+
def test_high_risk_employee_list_command_returns_success_return_code(
8+
runner, integration_test_profile
9+
):
10+
command = "high-risk-employee list"
11+
assert_test_is_successful(runner, append_profile(command))

tests/integration/test_legal_hold.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def test_legal_hold_list_command_returns_success_return_code(
1111
assert_test_is_successful(runner, append_profile(command))
1212

1313

14+
@pytest.mark.integration
1415
def test_legal_hold_show_command_returns_success_return_code(
1516
runner, integration_test_profile
1617
):

0 commit comments

Comments
 (0)