mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-09 17:55:48 +00:00
e53d860b40
8d820dce1f Track spiff step details more granularly (#17) 426da26d8f Clear the remaining __init__.py imports in SpiffWorkflow (#14) 9a1d1c484a Fix FutureWarning in SpiffWorkflow (#16) git-subtree-dir: SpiffWorkflow git-subtree-split: 8d820dce1f439bb76bc07e39629832d998d6f634
30 lines
678 B
Python
30 lines
678 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import os
|
|
import sys
|
|
import unittest
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', '..'))
|
|
|
|
from .TaskSpecTest import TaskSpecTest
|
|
from SpiffWorkflow.specs.Join import Join
|
|
|
|
|
|
class JoinTest(TaskSpecTest):
|
|
CORRELATE = Join
|
|
|
|
def create_instance(self):
|
|
if 'testtask' in self.wf_spec.task_specs:
|
|
del self.wf_spec.task_specs['testtask']
|
|
|
|
return Join(self.wf_spec,
|
|
'testtask',
|
|
description='foo')
|
|
|
|
|
|
def suite():
|
|
return unittest.TestLoader().loadTestsFromTestCase(JoinTest)
|
|
if __name__ == '__main__':
|
|
unittest.TextTestRunner(verbosity=2).run(suite())
|