Skip to content

Commit

Permalink
Merge pull request #43204 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-43192

refactor(test): use test fixture on pricing rule test suite (backport #43192)
  • Loading branch information
ruthra-kumar authored Sep 13, 2024
2 parents 4df38d3 + 055e782 commit 7989bc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion erpnext/accounts/doctype/pricing_rule/test_pricing_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import unittest

import frappe
from frappe.tests.utils import FrappeTestCase, change_settings

from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import make_purchase_invoice
from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sales_invoice
Expand All @@ -14,7 +15,7 @@
from erpnext.stock.get_item_details import get_item_details


class TestPricingRule(unittest.TestCase):
class TestPricingRule(FrappeTestCase):
def setUp(self):
delete_existing_pricing_rules()
setup_pricing_rule_data()
Expand Down

0 comments on commit 7989bc2

Please sign in to comment.