Commit 168efef5 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

TestWorkflow10 remove unnecessary tests

parent 200f0f63
Pipeline #51646 passed with stage
in 28 seconds
...@@ -76,44 +76,9 @@ class Workflow10(Workflow): ...@@ -76,44 +76,9 @@ class Workflow10(Workflow):
class TestWorkflow10(unittest.TestCase): class TestWorkflow10(unittest.TestCase):
def test_workflow10_10(self): def test_workflow10(self):
limit = 10 limit = 10
workflow10 = Workflow10("Test workflow {0}".format(limit)) workflow10 = Workflow10("Test workflow {0}".format(limit))
inData = {"value": 1, "limit": limit} inData = {"value": 1, "limit": limit}
outData = workflow10.run(inData) outData = workflow10.run(inData)
self.assertEqual(outData["value"], limit) self.assertEqual(outData["value"], limit)
def test_workflow10_100(self):
limit = 100
workflow10 = Workflow10("Test workflow {0}".format(limit))
inData = {"value": 1, "limit": limit}
outData = workflow10.run(inData)
self.assertEqual(outData["value"], limit)
def test_workflow10_200(self):
limit = 200
workflow10 = Workflow10("Test workflow {0}".format(limit))
inData = {"value": 1, "limit": limit}
outData = workflow10.run(inData)
self.assertEqual(outData["value"], limit)
def test_workflow10_500(self):
limit = 500
workflow10 = Workflow10("Test workflow {0}".format(limit))
inData = {"value": 1, "limit": limit}
outData = workflow10.run(inData)
self.assertEqual(outData["value"], limit)
def test_workflow10_1000(self):
limit = 1000
workflow10 = Workflow10("Test workflow {0}".format(limit))
inData = {"value": 1, "limit": limit}
outData = workflow10.run(inData)
self.assertEqual(outData["value"], limit)
def test_workflow10_5000(self):
limit = 5000
workflow10 = Workflow10("Test workflow {0}".format(limit))
inData = {"value": 1, "limit": limit}
outData = workflow10.run(inData)
self.assertEqual(outData["value"], limit)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment