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

Commit f003a01

Browse files
fix test
1 parent a4edd1f commit f003a01

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

services/tests/test_components.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ def test_patch_totals(self, head_report_mock, git_comparison_mock):
224224

225225
def test_filter_components_by_name_or_id(self):
226226
components = [
227-
Component(name="ComponentA", component_id="123"),
228-
Component(name="ComponentB", component_id="456"),
229-
Component(name="ComponentC", component_id="789"),
227+
Component(name="ComponentA", component_id="123", paths=[], flag_regexes=[], statuses=[]),
228+
Component(name="ComponentB", component_id="456", paths=[], flag_regexes=[], statuses=[]),
229+
Component(name="ComponentC", component_id="789", paths=[], flag_regexes=[], statuses=[]),
230230
]
231231
terms = ["comPOnentA", "123", "456"]
232232

@@ -237,9 +237,9 @@ def test_filter_components_by_name_or_id(self):
237237

238238
def test_filter_components_by_name_or_id_no_matches(self):
239239
components = [
240-
Component(name="ComponentA", component_id="123"),
241-
Component(name="ComponentB", component_id="456"),
242-
Component(name="ComponentC", component_id="789"),
240+
Component(name="ComponentA", component_id="123", paths=[], flag_regexes=[], statuses=[]),
241+
Component(name="ComponentB", component_id="456", paths=[], flag_regexes=[], statuses=[]),
242+
Component(name="ComponentC", component_id="789", paths=[], flag_regexes=[], statuses=[]),
243243
]
244244
terms = ["nonexistent", "000"]
245245

0 commit comments

Comments
 (0)