From ecaac76fa584849639ce82e4f826a7c7b64dafd9 Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Mon, 18 May 2020 15:44:28 -0400 Subject: [PATCH 1/3] More nav fixes via spiffworkflow. --- Pipfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pipfile.lock b/Pipfile.lock index 54178d09..27e78aa9 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -783,7 +783,7 @@ "spiffworkflow": { "editable": true, "git": "https://github.com/sartography/SpiffWorkflow.git", - "ref": "c810e219765abe2d39322a984b074a5949559112" + "ref": "83fec6626ea9957b381a3f932bfb554881b67888" }, "sqlalchemy": { "hashes": [ From 30bd6bef08f145979f793412989dc7b94b787e7b Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Mon, 18 May 2020 18:27:30 -0400 Subject: [PATCH 2/3] Another nav fix from spiff. --- Pipfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pipfile.lock b/Pipfile.lock index 27e78aa9..4f8b70c9 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -783,7 +783,7 @@ "spiffworkflow": { "editable": true, "git": "https://github.com/sartography/SpiffWorkflow.git", - "ref": "83fec6626ea9957b381a3f932bfb554881b67888" + "ref": "070d80fd670e129aae7ee949b3e66cc744520e49" }, "sqlalchemy": { "hashes": [ From dff92c6e4c18e26faa15ab7bebe3e4d10960534e Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Mon, 18 May 2020 20:49:50 -0400 Subject: [PATCH 3/3] fixing a test. --- tests/test_tasks_api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_tasks_api.py b/tests/test_tasks_api.py index b734ac97..edbb95d5 100644 --- a/tests/test_tasks_api.py +++ b/tests/test_tasks_api.py @@ -154,13 +154,14 @@ class TestTasksApi(BaseTest): self.assertIsNotNone(workflow_api.navigation) nav = workflow_api.navigation - self.assertEquals(6, len(nav)) + self.assertEquals(5, len(nav)) self.assertEquals("Do You Have Bananas", nav[0]['title']) - self.assertEquals("READY", nav[0]['state']) self.assertEquals("Bananas?", nav[1]['title']) self.assertEquals("FUTURE", nav[1]['state']) self.assertEquals("yes", nav[2]['title']) self.assertEquals("NOOP", nav[2]['state']) + self.assertEquals("no", nav[3]['title']) + self.assertEquals("NOOP", nav[3]['state']) def test_navigation_with_exclusive_gateway(self): self.load_example_data()