mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 21:22:42 +01:00
fix: import 2
This commit is contained in:
@@ -6,7 +6,6 @@ from typing import Literal
|
|||||||
|
|
||||||
import frappe
|
import frappe
|
||||||
from frappe.test_runner import make_test_records
|
from frappe.test_runner import make_test_records
|
||||||
from frappe.tests import IntegrationTestCase
|
|
||||||
from frappe.tests.utils import FrappeTestCase, change_settings
|
from frappe.tests.utils import FrappeTestCase, change_settings
|
||||||
from frappe.utils import random_string
|
from frappe.utils import random_string
|
||||||
from frappe.utils.data import add_to_date, now, today
|
from frappe.utils.data import add_to_date, now, today
|
||||||
@@ -425,7 +424,7 @@ class TestJobCard(FrappeTestCase):
|
|||||||
cost_after_cancel = self.work_order.total_operating_cost
|
cost_after_cancel = self.work_order.total_operating_cost
|
||||||
self.assertEqual(cost_after_cancel, original_cost)
|
self.assertEqual(cost_after_cancel, original_cost)
|
||||||
|
|
||||||
@IntegrationTestCase.change_settings(
|
@change_settings(
|
||||||
"Manufacturing Settings", {"add_corrective_operation_cost_in_finished_good_valuation": 1}
|
"Manufacturing Settings", {"add_corrective_operation_cost_in_finished_good_valuation": 1}
|
||||||
)
|
)
|
||||||
def test_if_corrective_jc_ops_cost_is_added_to_manufacture_stock_entry(self):
|
def test_if_corrective_jc_ops_cost_is_added_to_manufacture_stock_entry(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user