Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: test case #31523

Conversation

rohitwaghchaure
Copy link
Collaborator

@rohitwaghchaure rohitwaghchaure commented Jul 5, 2022

 FAIL  test_backflushed_batch_raw_materials_based_on_transferred (erpnext.manufacturing.doctype.work_order.test_work_order.TestWorkOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/frappe-bench/apps/erpnext/erpnext/manufacturing/doctype/work_order/test_work_order.py", line 1268, in test_backflushed_batch_raw_materials_based_on_transferred
    self.assertEqual(manufacture_ste_doc1.items[0].batch_no, batch_list[0])
    batch_item = 'Test Batch MCC Keyboard'
    batch_list = ['TBMK00001', 'TBMK00002']
    fg_item = 'Test FG Item with Batch Raw Materials'
    manufacture_ste_doc1 = <StockEntry: unsaved>
    new_row = <StockEntryDetail: 0e18516361 docstatus=1 parent=MAT-STE-2022-00040>
    self = <erpnext.manufacturing.doctype.work_order.test_work_order.TestWorkOrder testMethod=test_backflushed_batch_raw_materials_based_on_transferred>
    ste_doc = <StockEntry: MAT-STE-2022-00039 docstatus=1>
    transferred_ste_doc = <StockEntry: MAT-STE-2022-00040 docstatus=1>
    wo_doc = <WorkOrder: MFG-WO-2022-00001 docstatus=1>
AssertionError: 'TBMK00002' != 'TBMK00001'
- TBMK00002
?         ^
+ TBMK00001
?         ^

@rohitwaghchaure rohitwaghchaure force-pushed the fixed-test-case-backflushed_batch-raw-materials branch from d06517e to 7282c8e Compare July 5, 2022 09:40
@rohitwaghchaure rohitwaghchaure merged commit d5b0b5e into frappe:develop Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant