Skip to content

Commit

Permalink
Mark system tests for t01 only
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Nov 29, 2024
1 parent 5992f6f commit fa890f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system_tests/test_adsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def documents_from_num(
return docs


@pytest.mark.t01
@pytest.mark.parametrize(
"documents_from_num, shape", ([1, (1,)], [3, (3,)]), indirect=["documents_from_num"]
)
Expand All @@ -63,6 +64,7 @@ def test_plan_produces_expected_start_document(
)


@pytest.mark.t01
@pytest.mark.parametrize(
"documents_from_num, length", ([1, 1], [3, 3]), indirect=["documents_from_num"]
)
Expand All @@ -76,6 +78,7 @@ def test_plan_produces_expected_stop_document(
assert stop.get("exit_status") == "success"


@pytest.mark.t01
@pytest.mark.parametrize("documents_from_num", [1], indirect=True)
def test_plan_produces_expected_descriptor(
documents_from_num: dict[str, list[DocumentType]], det: StandardDetector
Expand All @@ -88,6 +91,7 @@ def test_plan_produces_expected_descriptor(
assert descriptor.get("name") == "primary"


@pytest.mark.t01
@pytest.mark.parametrize(
"documents_from_num, length", ([1, 1], [3, 3]), indirect=["documents_from_num"]
)
Expand All @@ -104,6 +108,7 @@ def test_plan_produces_expected_events(
assert event.get("seq_num") == i + 1


@pytest.mark.t01
@pytest.mark.parametrize("documents_from_num", [1, 3], indirect=True)
def test_plan_produces_expected_resources(
documents_from_num: dict[str, list[DocumentType]],
Expand All @@ -124,6 +129,7 @@ def test_plan_produces_expected_resources(
}


@pytest.mark.t01
@pytest.mark.parametrize(
"documents_from_num, length", ([1, 1], [3, 3]), indirect=["documents_from_num"]
)
Expand Down

0 comments on commit fa890f1

Please sign in to comment.