fix: minor fix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Nabin Hait
2026-07-01 20:12:42 +05:30
committed by GitHub
parent 039314c306
commit ea5be1f7a5

View File

@@ -29,6 +29,7 @@ class TestItemPrices(ERPNextTestSuite):
if row[item_idx] == item_code:
return row
self.fail(f"No report row found for item {item_code}")
return None
def cell(self, columns, row, label):
return row[self.labels(columns).index(label)]