Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 4e91830

Browse files
committed
try this
1 parent da2bd3e commit 4e91830

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/public/v2/tests/test_test_results_view.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def test_list(self):
5353
"outcome": self.test_instances[0].outcome,
5454
"branch": self.test_instances[0].branch,
5555
"repoid": self.test_instances[0].repoid,
56+
"failure_rate": 0.0,
5657
},
5758
{
5859
"id": self.test_instances[1].id,
@@ -64,6 +65,7 @@ def test_list(self):
6465
"outcome": self.test_instances[1].outcome,
6566
"branch": self.test_instances[1].branch,
6667
"repoid": self.test_instances[1].repoid,
68+
"failure_rate": 0.0,
6769
},
6870
],
6971
"total_pages": 1,
@@ -95,6 +97,7 @@ def test_list_filters(self):
9597
"outcome": self.test_instances[0].outcome,
9698
"branch": self.test_instances[0].branch,
9799
"repoid": self.test_instances[0].repoid,
100+
"failure_rate": 0.0,
98101
},
99102
],
100103
"total_pages": 1,
@@ -125,6 +128,7 @@ def test_retrieve(self, get_repo_permissions):
125128
"outcome": self.test_instances[0].outcome,
126129
"branch": self.test_instances[0].branch,
127130
"repoid": self.test_instances[0].repoid,
131+
"failure_rate": 0.0,
128132
}
129133

130134
@patch("api.shared.permissions.RepositoryArtifactPermissions.has_permission")
@@ -226,4 +230,5 @@ def test_result_with_valid_super_token(
226230
"outcome": self.test_instances[0].outcome,
227231
"branch": self.test_instances[0].branch,
228232
"repoid": self.test_instances[0].repoid,
233+
"failure_rate": 0.0,
229234
}

0 commit comments

Comments
 (0)