Exemple #1
0
def load_data():
    from lbworkflow.core.datahelper import load_wf_data

    load_wf_data("lbworkflow")
    load_wf_data("lbworkflow.tests.issue")
    load_wf_data("lbworkflow.tests.leave")
    load_wf_data("lbworkflow.tests.purchase")
 def init_data(self):
     super().init_data()
     load_wf_data("lbworkflow.simplewf")
     self.wf_a_1 = self.create_wf("simplewf__A", "wf_a_1")
     self.wf_a_2 = self.create_wf("simplewf__A", "wf_a_2")
     self.wf_b_1 = self.create_wf("simplewf__B", "wf_b_1")
Exemple #3
0
def load_data():
    from lbworkflow.core.datahelper import load_wf_data
    load_wf_data('carrot_box.wfapp.purchase')
Exemple #4
0
 def init_data(self):
     self.init_users()
     load_wf_data('lbworkflow')
     load_wf_data('lbworkflow.tests.leave')
     self.init_leave()
 def init_data(self):
     self.init_users()
     load_wf_data("lbworkflow")
     load_wf_data("lbworkflow.tests.leave")
     self.init_leave()
Exemple #6
0
 def init_data(self):
     super().init_data()
     load_wf_data('carrot_box.wfapp.purchase')
Exemple #7
0
 def init_data(self):
     load_wf_data('lbworkflow')
     self.roles = load_roles()
     self.departments = load_departments()
     self.users = load_users(self.departments, self.roles)
     load_simplewf()
def load_data():
    from lbworkflow.core.datahelper import load_wf_data
    load_wf_data('lbworkflow')
    load_wf_data('regularworktask')
    load_wf_data('mon_plan_sum')
    load_wf_data('yearsum')
    load_wf_data('yearplan')
    load_wf_data('warning')
    load_wf_data('warningre')
    load_wf_data('monworkexe')
Exemple #9
0
def load_data():
    from lbworkflow.core.datahelper import load_wf_data
    load_wf_data('lbworkflow')
    load_wf_data('lbworkflow.tests.issue')
    load_wf_data('lbworkflow.tests.leave')
Exemple #10
0
 def init_data(self):
     super().init_data()
     load_wf_data('lbworkflow.simplewf')
     self.wf_a_1 = self.create_wf('simplewf__A', 'wf_a_1')
     self.wf_a_2 = self.create_wf('simplewf__A', 'wf_a_2')
     self.wf_b_1 = self.create_wf('simplewf__B', 'wf_b_1')