Skip to content

Wufoo form parsing #15

@rubinovitz

Description

@rubinovitz

I started a new branch called "test-wufoo" for this.

In the Test class of lean_workbench/commands.py I started a test and added a survey as if I did it from the Lean Workbench user interface, and now we need to write a test for receiving Wufoo data from the webhook. When a user creates a survey from the leanworkbench interface we save the url and their username, so their surveys can be queried to view, and to save wufoo survey results given to us via POST requests from the webhook.

In the lean_workbench/wufoo/wufoo_resource.py file line 65 it starts to parse the Wufoo json.

Ideally, you can look at the Wufoo webhook docs
("How do I develop against this?" is helpful) in order to write test data for a wufoo survey post, and then in the wufoo_resource.py parse and save it using the models in leanworkbench/wufoo_models.py.

Let me know if you have any questions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions