test: Make User records before executing test

This commit is contained in:
Suraj Shetty 2020-08-03 23:53:01 +05:30
parent 3ce325f0e3
commit 00a8edf910

View file

@ -5,7 +5,10 @@ from __future__ import unicode_literals
import frappe
import unittest
from frappe.utils import random_string
from frappe.model.workflow import apply_workflow, WorkflowTransitionError, WorkflowPermissionError, get_common_transition_actions
from frappe.model.workflow import apply_workflow, WorkflowTransitionError, WorkflowPermissionError, get_common_transition_actions, get_workflow
from frappe.test_runner import make_test_records
make_test_records("User")
class TestWorkflow(unittest.TestCase):
def setUp(self):