Christopher C. Wells
8abb6d749e
Enforce min and max nap start parameters
...
Fixes #644
2023-06-04 17:39:08 -07:00
Christopher Charbonneau Wells
31a0aa4741
513: Make nap user toggleable ( #641 )
...
* Add `nap` field, remove `napping` field.
* Default `nap` property to NULL
* Update existing tests
* Format the code!!
* Allow `Sleep.nap` to be blank
* Migrate settings from `NAP_START_MIN` AND `NAP_START_MAX`
* Remove `active` class from boolean fields
* Correct test method name and user config
* Add forms test
* Use settings for Sleep nap model tests
2023-05-07 15:10:50 -07:00
Christopher C. Wells
7b7f17fde6
Remove "inactive" timer concept -- delete on complete
...
Closes #109
2023-03-25 13:23:05 -07:00
Christopher C. Wells
cd44a473cf
Replace references to Django core `User` model with `get_user_model`
2023-02-10 06:14:37 -08:00
jcgoette
94f81e3754
test: Remove out of date comment
2022-11-12 04:59:23 -08:00
Christopher C. Wells
4445faeeac
Add basic model tagging tests
2022-05-28 07:02:13 -07:00
Christopher C. Wells
00d04f1464
Add test for child without last name
2022-05-28 07:02:13 -07:00
Christopher C. Wells
c91b556739
Add basic test cases for recent core model additions
2022-05-28 07:02:13 -07:00
Christopher C. Wells
0875b6af05
Alpha order core models class declarations
2022-05-28 07:02:13 -07:00
bugbountyguy
4ceb6095d3
Rename breastpump to pumping
2022-04-04 20:39:39 -07:00
bugbountyguy
44648ce33b
add tests
2022-04-04 20:39:39 -07:00
Christopher C. Wells
cd946280cb
Format code with black
2022-02-09 16:00:30 -08:00
Christopher C. Wells
d0b33c2b1b
Use user first and last name, when available, in UI
2020-02-18 14:41:33 -08:00
Christopher C. Wells
6ba6e429cd
Add core Timer tests
2020-01-31 09:09:01 -08:00
Christopher C. Wells
107257cc34
Update model tests for timer-child relationship changes
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
eceece0db2
Update tests for Diaper Change attribute verbose names
2019-11-09 16:42:51 -08:00
Christopher C. Wells
4397d4a406
Add temperature tracking.
2019-05-16 21:33:26 -07:00
Christopher C. Wells
0261f39864
Add "both breasts" option for Feeding method ( #52 ).
2019-05-02 10:19:56 -07:00
Christopher Charbonneau Wells
5dc372281b
Remove all unicode_literals imports.
2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells
fd960cd974
Refresh from DB during timer duration test to satisfy new class method duration calculation.
2017-10-27 22:36:26 -04:00
Christopher Charbonneau Wells
6e936df1bc
Use a from_db class method instead of a separate method to always provider a timer's current duration.
2017-10-27 21:33:26 -04:00
Christopher Charbonneau Wells
1221367f2a
Adjust duration test assertions to use exact timedeltas.
...
This prevents failures when timedeltas include microseconds.
2017-10-25 12:01:43 -04:00
Christopher Charbonneau Wells
3c2df12314
Add core model tests.
2017-10-25 10:20:13 -04:00