mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 14:18:24 +00:00
refactor: add bare unit test cases
mainly for LLMs to catch up with the convention
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
import frappe
|
||||
from frappe.tests import IntegrationTestCase
|
||||
from frappe.tests import IntegrationTestCase, UnitTestCase
|
||||
from frappe.utils import add_days, getdate, nowdate
|
||||
|
||||
from erpnext.projects.doctype.project_template.test_project_template import make_project_template
|
||||
@@ -14,6 +14,15 @@ test_records = frappe.get_test_records("Project")
|
||||
test_ignore = ["Sales Order"]
|
||||
|
||||
|
||||
class UnitTestProject(UnitTestCase):
|
||||
"""
|
||||
Unit tests for Project.
|
||||
Use this class for testing individual functions and methods.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class TestProject(IntegrationTestCase):
|
||||
def test_project_with_template_having_no_parent_and_depend_tasks(self):
|
||||
project_name = "Test Project with Template - No Parent and Dependend Tasks"
|
||||
|
||||
Reference in New Issue
Block a user