Skip to content

Commit

Permalink
Remove test execution id in previous results until we use it
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed Oct 25, 2024
1 parent 47a248c commit 27c7f4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def parse_previous_test_results(
status=test_result.status,
version=test_result.test_execution.artefact_build.artefact.version,
artefact_id=test_result.test_execution.artefact_build.artefact_id,
test_execution_id=test_result.test_execution.id,
)
for test_result in test_results
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ class PreviousTestResult(BaseModel):
status: TestResultStatus
version: str
artefact_id: int
test_execution_id: int


class TestResultDTO(BaseModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def test_fetch_test_results(test_client: TestClient, generator: DataGenerator):
"status": test_result_first.status,
"version": artefact_first.version,
"artefact_id": artefact_first.id,
"test_execution_id": test_execution_first.id,
}
]

Expand Down Expand Up @@ -113,7 +112,6 @@ def test_previous_results_only_uses_latest_builds(
"status": tr12.status,
"version": a1.version,
"artefact_id": a1.id,
"test_execution_id": te12.id,
}
],
}
Expand Down Expand Up @@ -152,7 +150,6 @@ def test_previous_results_shows_reruns(
"status": tr1.status,
"version": a.version,
"artefact_id": a.id,
"test_execution_id": te1.id,
}
],
}
Expand Down

0 comments on commit 27c7f4a

Please sign in to comment.