Skip to content

Commit

Permalink
fix: resolved conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninad1306 committed Oct 14, 2024
1 parent 9536376 commit 10dcb49
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<<<<<<< HEAD
from frappe.tests.utils import FrappeTestCase
=======
import re

import frappe
from frappe.tests import IntegrationTestCase
from frappe.tests.utils import FrappeTestCase
from erpnext.controllers.subcontracting_controller import (
get_materials_from_supplier,
make_rm_stock_entry,
Expand All @@ -17,14 +14,10 @@
from erpnext.subcontracting.doctype.subcontracting_order.test_subcontracting_order import (
create_subcontracting_order,
)
>>>>>>> ad4e1399 (fix: only show warning for subcontracting receipt (#2652))

from india_compliance.gst_india.utils.tests import create_transaction


<<<<<<< HEAD
class TestSubcontractingTransaction(FrappeTestCase):
=======
def make_raw_materials():
raw_materials = {
"Subcontracted SRM Item 1": {"valuation_rate": 20},
Expand Down Expand Up @@ -163,15 +156,14 @@ def make_stock_transfer_entry(**args):
return doc.submit()


class TestSubcontractingTransaction(IntegrationTestCase):
class TestSubcontractingTransaction(FrappeTestCase):
def _create_stock_entry(self, doc_args):
"""Generate Stock Entry to test e-Waybill functionalities"""
doc_args.update({"doctype": "Stock Entry"})

stock_entry = create_transaction(**doc_args)
return stock_entry

>>>>>>> ad4e1399 (fix: only show warning for subcontracting receipt (#2652))
def test_create_and_update_stock_entry(self):
# Create a subcontracting transaction
args = {
Expand Down

0 comments on commit 10dcb49

Please sign in to comment.