Returns a dictionary containing all the forms in the pages as :class:`~webtest.forms.Form` objects. Indexes are both in order (from zero) and by form id (if the form is given an id). See :doc:`forms` for more info on form objects.
(self)
| 27 | |
| 28 | @property |
| 29 | def forms(self): |
| 30 | """ |
| 31 | Returns a dictionary containing all the forms in the pages as |
| 32 | :class:`~webtest.forms.Form` objects. Indexes are both in |
| 33 | order (from zero) and by form id (if the form is given an id). |
| 34 | |
| 35 | See :doc:`forms` for more info on form objects. |
| 36 | """ |
| 37 | if self._forms_indexed is None: |
| 38 | self._parse_forms() |
| 39 | return self._forms_indexed |
| 40 | |
| 41 | @property |
| 42 | def form(self): |
nothing calls this directly
no test coverage detected