Closed kbayliss closed 1 year ago
The tbxforms package defines a BaseForm that you would inherit from to use tbxforms in a given project: https://github.com/torchbox/tbxforms/blob/main/tbxforms/forms.py#L14
tbxforms
BaseForm
However, this isn't used for our tests - they define their own BaseForm - https://github.com/torchbox/tbxforms/blob/main/tests/forms.py#L12 - which undermines the entire test suite.
The test suite should at least inherit from the same base form class, even if additional changes are required to run the tests.
(Originally raised by @balazs-endresz here 🙌🏻)
The
tbxforms
package defines aBaseForm
that you would inherit from to usetbxforms
in a given project: https://github.com/torchbox/tbxforms/blob/main/tbxforms/forms.py#L14However, this isn't used for our tests - they define their own
BaseForm
- https://github.com/torchbox/tbxforms/blob/main/tests/forms.py#L12 - which undermines the entire test suite.The test suite should at least inherit from the same base form class, even if additional changes are required to run the tests.
(Originally raised by @balazs-endresz here 🙌🏻)