test: Fixed test for WDV method depreciation schedule
diff --git a/erpnext/assets/doctype/asset/test_asset.py b/erpnext/assets/doctype/asset/test_asset.py
index 95abaa1..34d374c 100644
--- a/erpnext/assets/doctype/asset/test_asset.py
+++ b/erpnext/assets/doctype/asset/test_asset.py
@@ -721,12 +721,12 @@
)
expected_schedules = [
- ["2022-02-28", 645.0, 645.0],
- ["2022-03-31", 1206.8, 1851.8],
- ["2022-04-30", 1051.12, 2902.92],
- ["2022-05-31", 915.52, 3818.44],
- ["2022-06-30", 797.42, 4615.86],
- ["2022-07-15", 384.14, 5000.0],
+ ["2022-02-28", 647.25, 647.25],
+ ["2022-03-31", 1210.71, 1857.96],
+ ["2022-04-30", 1053.99, 2911.95],
+ ["2022-05-31", 917.55, 3829.5],
+ ["2022-06-30", 798.77, 4628.27],
+ ["2022-07-15", 371.73, 5000.0],
]
schedules = [
@@ -737,7 +737,6 @@
]
for d in asset.get("schedules")
]
-
self.assertEqual(schedules, expected_schedules)