Commit graph

25 commits

Author SHA1 Message Date
Karl Hobley
5ea9e8a7eb Removed usage of unicodecsv 2015-06-02 00:18:30 +01:00
Karl Hobley
4186bee2be Fix UnicodeEncodeError on Python 2 2015-05-05 14:11:29 +01:00
Karl Hobley
a1bf1159c4 Make form page in wagtailforms tests 2015-05-05 13:52:35 +01:00
Karl Hobley
8f642a5b2f Removed a bit of unused code 2015-05-03 11:19:45 +01:00
Arne Schauf
61584ae2f8 fix TypeError if submitting unchecked BooleanField 2015-05-03 11:11:12 +01:00
Karl Hobley
cc07406f3d Failing test for #1260 2015-05-03 11:09:02 +01:00
Karl Hobley
682232ca5b Moved test app into subdirectory
- Gives a nice separation between test app and test configuration
- Allows us to cleanly add separate test apps
2015-03-30 12:48:27 +01:00
Karl Hobley
af7c1de978 Removed page modes tests
These views were already being tested in TestFormSubmission. I don't think anyone will ever call the modes directly making these tests a bit pointless.

They also use the assertTemplateUsed method badly (these should be used on a response).
2015-03-16 11:58:34 +00:00
Karl Hobley
2776471a51 Created failing test for #798 2014-11-11 10:48:46 +00:00
Tom Talbot
b65adb295d Unit test for form-builder forms with multiple checkboxes 2014-10-30 14:38:41 +00:00
Matt Westcott
493fc29c08 Deprecate the show_as_mode method in favour of serve_preview which additionally takes a 'request' argument 2014-07-03 15:31:27 +01:00
Karl Hobley
3248601cc1 Fixed wagtailforms test 2014-07-02 10:35:47 +01:00
Karl Hobley
749df44e06 Revert "Split wagtailforms landing page into separate view"
This reverts commit 21ac2e3ab8.
2014-06-27 12:17:57 +01:00
Karl Hobley
2b4b19a641 Use reversed URLs in wagtailforms tests 2014-06-04 16:41:08 +01:00
Karl Hobley
24df26c8c3 More wagtailforms tests 2014-06-04 16:41:08 +01:00
Karl Hobley
7e7885b2b5 Added tests for wagtailforms page modes 2014-06-04 16:41:08 +01:00
Karl Hobley
6d67749f5a Cleanup of TestFormsBackend TestcAse 2014-06-04 16:41:08 +01:00
Karl Hobley
21ac2e3ab8 Split wagtailforms landing page into separate view 2014-06-04 16:41:08 +01:00
Karl Hobley
7cf899bdbc Added test for FormBuilder class 2014-06-04 16:41:08 +01:00
Karl Hobley
2a84d7ef1d A few improvements to the wagtailforms submission tests 2014-06-04 16:41:08 +01:00
Matt Westcott
d096b14132 Remove label_suffix from form builder forms by default, but make that preference overrideable in the FormPage class 2014-05-20 16:16:26 +01:00
Matt Westcott
3e152e0386 fix unit tests to handle form_pages being a paginator.Page instance 2014-05-20 14:53:02 +01:00
Matt Westcott
9b93d7edd8 Add unit tests for wagtailforms backend 2014-05-07 17:33:13 +01:00
Matt Westcott
f68f9a0461 add tests for front-end form submission 2014-05-07 16:39:56 +01:00
Serafeim Papastefanos
a3b7259f98 Add a basic skeleton for Wagtail form builder 2014-03-20 15:58:02 +02:00