mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 21:28:32 +00:00
self was BaseTest in base_test and the test class in the actual test, so we couldn't find workflow_spec_service
This commit is contained in:
parent
2e4bab9d04
commit
ccfb4b4cda
@ -39,6 +39,7 @@ class BaseTest(unittest.TestCase):
|
|||||||
""" Great class to inherit from, as it sets up and tears down classes
|
""" Great class to inherit from, as it sets up and tears down classes
|
||||||
efficiently when we have a database in place.
|
efficiently when we have a database in place.
|
||||||
"""
|
"""
|
||||||
|
workflow_spec_service = WorkflowSpecService()
|
||||||
|
|
||||||
if not app.config['TESTING']:
|
if not app.config['TESTING']:
|
||||||
raise (Exception("INVALID TEST CONFIGURATION. This is almost always in import order issue."
|
raise (Exception("INVALID TEST CONFIGURATION. This is almost always in import order issue."
|
||||||
@ -97,7 +98,6 @@ class BaseTest(unittest.TestCase):
|
|||||||
db.drop_all()
|
db.drop_all()
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.workflow_spec_service = WorkflowSpecService()
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user