mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 23:05:12 +00:00
fix(travis): Customer Testcase Failing (#24833)
This commit is contained in:
@@ -54,7 +54,11 @@ class TestCustomer(unittest.TestCase):
|
||||
details = get_party_details("_Test Customer")
|
||||
|
||||
for key, value in iteritems(to_check):
|
||||
self.assertEqual(value, details.get(key))
|
||||
val = details.get(key)
|
||||
if not val and not isinstance(val, list):
|
||||
val = None
|
||||
|
||||
self.assertEqual(value, val)
|
||||
|
||||
def test_party_details_tax_category(self):
|
||||
from erpnext.accounts.party import get_party_details
|
||||
|
||||
Reference in New Issue
Block a user