brotherton-erpnext/erpnext/regional/germany/test_accounts_controller.py
2020-12-22 17:34:31 +01:00

13 lines
311 B
Python

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)