Skip to content
Snippets Groups Projects
Commit 14deea25 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add basic test and init of workflow

parent 768841dc
No related branches found
No related tags found
No related merge requests found
# from django.test import TestCase from unittest import TestCase
# Create your tests here. from .workflow import Workflow
class TestWorkflowCreation(TestCase):
def test_can_create_workflow(self):
name = 'single_stage'
workflow = Workflow(name)
self.assertEqual(workflow.name, name)
class Workflow:
def __init__(self, name):
self.name = name
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment