Christopher C. Wells
c1e4876c20
Set explicit bounds on some graphs
...
Fixes #706
2024-01-27 19:42:12 -08:00
Christopher C. Wells
e65b1749e0
Catch invalid object ID in form initial setup
...
Fixes #735
2024-01-27 09:32:51 -08:00
Christopher Charbonneau Wells
49d8f2b340
Update to Django 5.x ( #746 )
2024-01-13 20:22:08 -08:00
John Merlie
3826772b1c
updated pumping form for start/end/duration
2023-07-09 08:48:54 -07:00
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
716d121575
Remove outdated tests
2023-03-25 13:57:01 -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
a5504520d1
Explicitly reset format caches during testing
...
This seems to be necessary primarily for consistency when running tests in
parallel.
Fixes #483
2023-02-11 20:21:09 -08:00
Christopher C. Wells
90e16431b8
Format code
2023-02-10 06:14:37 -08:00
Christopher C. Wells
cd44a473cf
Replace references to Django core `User` model with `get_user_model`
2023-02-10 06:14:37 -08:00
Christopher C. Wells
f47fbce0cb
Use consistent naming for forms test case classes
2022-06-14 14:05:03 -07:00
Christopher C. Wells
db5615fcb9
Add missing forms tests; separate notes and tags tests
2022-05-28 07:02:13 -07:00
Christopher C. Wells
838020ceff
Update Faker API usage
2022-05-28 07:02:13 -07:00
Christopher C. Wells
3af2aee093
Reorder alpha core tests
2022-05-28 07:02:13 -07:00
Marco H
123a0192ce
Fix test
2022-04-15 20:56:34 -07:00
bugbountyguy
8b5c3eb5b9
Make gulp lint happy
2022-04-04 20:39:39 -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
Paul Konstantin Gerke
5f23eecb84
Black
2022-03-06 18:31:29 +01:00
Paul Konstantin Gerke
d0469caed5
Add missing notes-test (includes tests for tags-feature)
2022-03-06 18:30:58 +01:00
Christopher C. Wells
cd946280cb
Format code with black
2022-02-09 16:00:30 -08:00
Christopher C. Wells
774504bce2
Prevent potential sleep entry intersection errors in tests
2021-10-26 19:55:16 -07:00
Christopher Charbonneau Wells
cbf6f0ce1e
Fix minor linting issues
2020-03-30 05:25:57 -07:00
Peter Hardy
dfd89ae339
Tests for initial feeding methods ( #127 )
2020-03-28 21:54:07 +11:00
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