mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
refactor(test): make item wise sales register deterministic
This commit is contained in:
@@ -76,9 +76,13 @@ class TestItemWiseSalesRegister(AccountsTestMixin, ERPNextTestSuite):
|
|||||||
self.assertDictEqual(report_output, expected_result)
|
self.assertDictEqual(report_output, expected_result)
|
||||||
|
|
||||||
def test_grouped_report_handles_different_tax_descriptions(self):
|
def test_grouped_report_handles_different_tax_descriptions(self):
|
||||||
self.create_item(item_name="_Test Item Tax Description A")
|
self.create_item(
|
||||||
|
item_name="_Test Item Tax Description A", company="_Test Company", warehouse="Stores - _TC"
|
||||||
|
)
|
||||||
first_item = self.item
|
first_item = self.item
|
||||||
self.create_item(item_name="_Test Item Tax Description B")
|
self.create_item(
|
||||||
|
item_name="_Test Item Tax Description B", company="_Test Company", warehouse="Stores - _TC"
|
||||||
|
)
|
||||||
second_item = self.item
|
second_item = self.item
|
||||||
|
|
||||||
first_tax_description = "Tax Description A"
|
first_tax_description = "Tax Description A"
|
||||||
|
|||||||
Reference in New Issue
Block a user