[minor] removed test case of template cannot have stock
diff --git a/erpnext/stock/doctype/item/test_item.py b/erpnext/stock/doctype/item/test_item.py
index 2ba9647..f7c0f40 100644
--- a/erpnext/stock/doctype/item/test_item.py
+++ b/erpnext/stock/doctype/item/test_item.py
@@ -46,11 +46,11 @@
item = frappe.get_doc("Item", item_code)
return item
- def test_template_cannot_have_stock(self):
- item = self.get_item(10)
- make_stock_entry(item_code=item.name, target="Stores - _TC", qty=1, basic_rate=1)
- item.has_variants = 1
- self.assertRaises(ItemTemplateCannotHaveStock, item.save)
+ # def test_template_cannot_have_stock(self):
+ # item = self.get_item(10)
+ # make_stock_entry(item_code=item.name, target="Stores - _TC", qty=1, basic_rate=1)
+ # item.has_variants = 1
+ # self.assertRaises(ItemTemplateCannotHaveStock, item.save)
def test_default_warehouse(self):
item = frappe.copy_doc(test_records[0])