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

chore: fix test case #40457

Conversation

rohitwaghchaure
Copy link
Collaborator

Issue

test_repost_item_valuation_for_closing_stock_balance (erpnext.stock.doctype.repost_item_valuation.test_repost_item_valuation.TestRepostItemValuation.test_repost_item_valuation_for_closing_stock_balance)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/frappe-bench/apps/erpnext/erpnext/stock/doctype/repost_item_valuation/test_repost_item_valuation.py", line 408, in test_repost_item_valuation_for_closing_stock_balance
    self.assertEqual(doc.status, "Completed")
    doc = <ClosingStockBalance: CBAL-00001 docstatus=1>
    prepare_closing_stock_balance = <function prepare_closing_stock_balance at 0x72d329626480>
    self = <erpnext.stock.doctype.repost_item_valuation.test_repost_item_valuation.TestRepostItemValuation testMethod=test_repost_item_valuation_for_closing_stock_balance>
AssertionError: 'Failed' != 'Completed'
- Failed
+ Completed

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Mar 14, 2024
@rohitwaghchaure rohitwaghchaure added backport version-15-hotfix and removed needs-tests This PR needs automated unit-tests. labels Mar 14, 2024
@nabinhait nabinhait merged commit c417e7d into frappe:develop Mar 14, 2024
14 checks passed
rohitwaghchaure added a commit that referenced this pull request Mar 14, 2024
chore: fix test case

(cherry picked from commit ec83d54)

Co-authored-by: Rohit Waghchaure <rohitw1991@gmail.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants