Christopher C. Wells
2346995cb3
Remove bottle-formula validation test
...
This is not really necessary and only serves as validation that will need to updated if model choices ever change.
2020-02-18 14:41:33 -08:00
Christopher C. Wells
af710b977a
Add tests for inactive Timer delete functionality
2020-02-06 21:50:22 -08:00
Christopher C. Wells
005a4f180e
Correct timer urls to use plural form
2020-02-06 20:14:01 -08:00
Christopher C. Wells
6ba6e429cd
Add core Timer tests
2020-01-31 09:09:01 -08:00
Christopher C. Wells
f7d9f6b361
Refactor core forms test base class
...
The extra child added in the base classes caused failures with the `test_child_with_one_child` test.
2020-01-31 09:09:01 -08:00
Christopher C. Wells
2b0e15d8ec
Add tests for initial values settings on core models
2020-01-31 09:09:01 -08:00
Christopher C. Wells
bd79a3f2d1
Do not use generated fake data in form tests
...
This could cause unpredictable errors during tests so each test case should set up it's own environment.
2020-01-31 09:09:01 -08:00
Christopher C. Wells
1d492e4163
Refactor core form tests for better organization and coverage
2020-01-31 09:09:01 -08:00
Christopher C. Wells
a8abfb725f
Add generic "Amount" field to Diaper Change model ( #77 )
2020-01-26 13:22:20 -08:00
Christopher C. Wells
4397d4a406
Add temperature tracking.
2019-05-16 21:33:26 -07:00
Christopher Charbonneau Wells
5dc372281b
Remove all unicode_literals imports.
2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells
b972482cb1
Don't require color for solid diaper change entries.
2018-02-16 09:33:30 -05:00
Christopher Charbonneau Wells
067be4bf07
Add weight tracking.
2017-11-09 21:15:09 -05:00
Christopher Charbonneau Wells
1c5278cebf
Verify necessary fields before running model validation tests.
2017-11-07 07:07:51 -05:00
Christopher Charbonneau Wells
e6acfe4e75
Add date intersection validation for models with start and end dates.
2017-11-05 14:18:30 -05:00
Christopher Charbonneau Wells
df5c3e98b9
Add core templatetags tests and update some docstrings.
2017-11-03 23:55:42 -04:00
Christopher Charbonneau Wells
fe3e753d65
Update tests for new validators.
2017-11-03 23:29:55 -04:00
Christopher Charbonneau Wells
237796a644
Move form clean methods to models.
2017-11-01 16:14:42 -04:00
Bob Thomas
1eeba2398d
Add validation for model durations
...
It was previously possible to accidentally enter obviously wrong values
for start/end dates. Add some basic validation to catch input errors
when creating or editing various models (when not using a timer).
2017-11-01 12:44:07 -04:00
Christopher Charbonneau Wells
40f8a511ba
Adjust existing tests for form validation updates.
2017-10-31 21:01:21 -04:00
Christopher Charbonneau Wells
5afc55ca31
Make Timer instance.start field editable.
2017-10-28 13:27:33 -04:00
Christopher Charbonneau Wells
f23ea78cef
Linting fixes.
2017-10-22 15:05:58 -04:00
Christopher Charbonneau Wells
2ca120b83f
Add core forms tests.
2017-10-21 23:00:28 -04:00