test: pass filters to execute

This commit is contained in:
Mangesh-Khairnar 2019-05-01 10:03:57 +05:30
parent 96661ba847
commit cc8e2b6aca
2 changed files with 2 additions and 10 deletions

View File

@ -53,13 +53,6 @@ def get_columns(filters):
"fieldtype": "Link",
"width": 140
},
{
"label": _("Budget Code"),
"options": "Budget",
"fieldname": "budget_code",
"fieldtype": "Link",
"width": 140
},
{
"label": _("Description"),
"fieldname": "description",

View File

@ -12,7 +12,6 @@ from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_r
from erpnext.stock.doctype.warehouse.test_warehouse import create_warehouse
class TestProcurementTracker(unittest.TestCase):
maxDiff = None
def test_result_for_procurement_tracker(self):
filters = {
'company': '_Test Procurement Company',
@ -60,8 +59,8 @@ class TestProcurementTracker(unittest.TestCase):
"supplier": "_Test Supplier",
"estimated_cost": 0.0,
"actual_cost": None,
"purchase_order_amt": 0.0,
"purchase_order_amt_in_company_currency": 0.0,
"purchase_order_amt": 5000.0,
"purchase_order_amt_in_company_currency": 300000.0,
"expected_delivery_date": date_obj,
"actual_delivery_date": date_obj
}