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

Purchase Invoice Test Cases Issue #572

Open
chintanshah8848 opened this issue Nov 6, 2024 · 1 comment
Open

Purchase Invoice Test Cases Issue #572

chintanshah8848 opened this issue Nov 6, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@chintanshah8848
Copy link

Information about bug

bench --site test run-tests --doctype "Purchase Invoice"

test_adjust_incoming_rate (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (3.03s)
......................
test_offsetting_entries_for_accounting_dimensions (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (4.66s)
.....
test_provisional_accounting_entry (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (3.09s)
.
test_provisional_accounting_entry_for_over_billing (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (3.44s)
.
test_provisional_accounting_entry_for_partial_billing (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (2.15s)
.F....................
test_purchase_invoice_without_supplier_group (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (3.77s)
.
test_rejected_serial_no (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice) (2.45s)
.........

FAIL: test_purchase_invoice_advance_taxes (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice)

Traceback (most recent call last):
File "/usr/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/chintan/postgres-testing/frappe-bench-postgres/apps/erpnext/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py", line 1557, in test_purchase_invoice_advance_taxes
self.assertEqual(expected_gle[i][0], gle.account)
AssertionError: '_Test Account Cost for Goods Sold - _TC' != 'Creditors - _TC'

  • _Test Account Cost for Goods Sold - _TC
  • Creditors - _TC

Ran 61 tests in 50.127s

FAILED (failures=1)

Module

accounts

Version

Assets: v0.0.1 (pre-prod)

ERPNext: v15.34.0 (pi_test_cases_issues)

Frappe Framework: v15.41.0 (pre-prod)

Payments: v0.0.1 (version-15)

sales_commission: v0.0.1 (master)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

@chintanshah8848 chintanshah8848 added the bug Something isn't working label Nov 6, 2024
@chintanshah8848 chintanshah8848 changed the title Purchase Invoice Test Cases: Purchase Invoice Test Cases Issue Nov 6, 2024
@chintanshah8848 chintanshah8848 self-assigned this Nov 6, 2024
@chintanshah8848
Copy link
Author

#571

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant