Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wufoo form parsing #15

Open
rubinovitz opened this issue Oct 31, 2014 · 0 comments
Open

Wufoo form parsing #15

rubinovitz opened this issue Oct 31, 2014 · 0 comments
Assignees

Comments

@rubinovitz
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants