chore: fix test case (#38856)

This commit is contained in:
rohitwaghchaure
2023-12-19 15:54:29 +05:30
committed by GitHub
parent e0c8ff10da
commit 857843bc29

View File

@@ -524,7 +524,7 @@ class TestItem(FrappeTestCase):
def test_item_variant_by_manufacturer(self):
template = make_item(
"_Test Item Variant By Manufacturer", {"has_variants": 1, "variant_based_on": "Manufacturer"}
)
).name
for manufacturer in ["DFSS", "DASA", "ASAAS"]:
if not frappe.db.exists("Manufacturer", manufacturer):