diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-07-10 13:39:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-07-10 13:39:27 +0000 |
commit | 5f9a48539b49ad7be0a8366fed8b2a24d83208ef (patch) | |
tree | 5093b8392ce55b12dd1969c8b9c2210dd5483f99 /src/workflow/models.py | |
parent | 3bc9170d34ee6cd10bb02fa7641cccd2037562bb (diff) | |
parent | 38b4412f8b6cf21371b67e8de917f5a24b2bf72d (diff) |
Merge "Fixes and adds Tests"
Diffstat (limited to 'src/workflow/models.py')
-rw-r--r-- | src/workflow/models.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/workflow/models.py b/src/workflow/models.py index 0521165..9d1fac2 100644 --- a/src/workflow/models.py +++ b/src/workflow/models.py @@ -224,18 +224,9 @@ class WorkflowStep(object): template = get_template(self.template) return template.render(self.get_context(), request) - def post_render(self, request): - self.post(request.POST, request.user) - return self.render(request) - def post(self, post_content, user): raise Exception("WorkflowStep subclass of type " + str(type(self)) + " has no concrete post() method") - def test_render(self, request): - if request.method == "POST": - return self.post_render(request) - return self.render(request) - def validate(self, request): pass |