mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
chore: fix test case (#38856)
This commit is contained in:
@@ -524,7 +524,7 @@ class TestItem(FrappeTestCase):
|
|||||||
def test_item_variant_by_manufacturer(self):
|
def test_item_variant_by_manufacturer(self):
|
||||||
template = make_item(
|
template = make_item(
|
||||||
"_Test Item Variant By Manufacturer", {"has_variants": 1, "variant_based_on": "Manufacturer"}
|
"_Test Item Variant By Manufacturer", {"has_variants": 1, "variant_based_on": "Manufacturer"}
|
||||||
)
|
).name
|
||||||
|
|
||||||
for manufacturer in ["DFSS", "DASA", "ASAAS"]:
|
for manufacturer in ["DFSS", "DASA", "ASAAS"]:
|
||||||
if not frappe.db.exists("Manufacturer", manufacturer):
|
if not frappe.db.exists("Manufacturer", manufacturer):
|
||||||
|
|||||||
Reference in New Issue
Block a user