-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests for fields & fix EnumField init error (#12) ☃️
* add tests for fields * fix error when non-enum is passed into EnumField * update changelog * add EnumField fix to changelog * improve test for invalid FieldList input * remove redundant test * improve test for invalid FormField input * improve test for invalid FormFieldList input * make empty values passed to FormField return {} * remove f-string test * add more true values to BooleanFieldTests * uncomment and fix remaining tests in FormFieldListTests * remove unused imports * improve error message for invalid values passed to enum * update changelog
- Loading branch information
Showing
6 changed files
with
439 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[pytest] | ||
DJANGO_SETTINGS_MODULE = tests.settings | ||
log_cli = 1 | ||
log_cli_level = INFO |
Oops, something went wrong.