mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
test: add test for accounts controller
This commit is contained in:
12
erpnext/regional/germany/test_accounts_controller.py
Normal file
12
erpnext/regional/germany/test_accounts_controller.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import frappe
|
||||||
|
import unittest
|
||||||
|
from erpnext.regional.germany.accounts_controller import validate_regional
|
||||||
|
|
||||||
|
|
||||||
|
class TestAccountsController(unittest.TestCase):
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
self.sales_invoice = frappe.get_last_doc('Sales Invoice')
|
||||||
|
|
||||||
|
def test_validate_regional(self):
|
||||||
|
validate_regional(self.sales_invoice)
|
||||||
Reference in New Issue
Block a user