more fixes in test records
This commit is contained in:
parent
203cb10ef7
commit
c761fefb78
@ -72,6 +72,18 @@ class TestStockEntry(unittest.TestCase):
|
||||
self._test_auto_material_request("_Test Item")
|
||||
|
||||
def test_auto_material_request_for_variant(self):
|
||||
manage_variant = frappe.new_doc("Manage Variants")
|
||||
manage_variant.update({
|
||||
"item": "_Test Variant Item",
|
||||
"attributes": [
|
||||
{
|
||||
"attribute": "Test Size",
|
||||
"attribute_value": "Small"
|
||||
}
|
||||
]
|
||||
})
|
||||
manage_variant.generate_combinations()
|
||||
manage_variant.create_variants()
|
||||
self._test_auto_material_request("_Test Variant Item-S")
|
||||
|
||||
def _test_auto_material_request(self, item_code):
|
||||
|
Loading…
x
Reference in New Issue
Block a user