Commit Graph

18 Commits

Author SHA1 Message Date
Kenneth Kehl
ae5561862d fix tests, eliminate or tweak bogus incoming or foreign number tests 2024-04-11 15:39:50 -07:00
Kenneth Kehl
330fad469e make ChooseTimeForm time zone aware 2024-02-07 12:14:00 -08:00
Kenneth Kehl
36987e7202 notify-api-861 show eastern time 2023-11-16 12:24:27 -08:00
Carlo Costino
35ecd7006a Finally finished linting all the tests!
...Now to fix the ones I broke... :lolsob:

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:26:01 -04:00
Kenneth Kehl
8c9721d8e2 notify-api-412 use black to enforce python coding style 2023-08-25 09:12:23 -07:00
Steven Reilly
13d0e46b52 blunt rename of org (#620) 2023-07-12 12:09:44 -04:00
Carlo Costino
92d25f5a69 Convert frontend display to be just UTC (#540)
This changeset converts the display of dates and times to be just UTC to match the recent changes in the backend.  This unwinds a bit of work that was done previously and allows us to start with a clean slate in how we want to approach displaying dates and times going forward. It also adds a bit of explanatory text to help users.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
2023-06-12 15:49:48 -04:00
Ryan Ahearn
d9f1ee5af6 Expect sms 2nd factor codes to be 6 digits 2023-02-17 11:53:44 -05:00
Ryan Ahearn
2ad21a6f4f Replace UK phone numbers in tests with US numbers 2023-01-06 11:19:56 -05:00
stvnrlly
944715ac46 big commit with letters removal 2022-12-05 15:33:44 -05:00
stvnrlly
a0ade73846 getting human time math more correct 2022-11-29 22:07:32 -05:00
stvnrlly
8f47af11da use local timezone to get future sending options 2022-11-29 16:38:06 -05:00
stvnrlly
5cd91844ef add timezone to scheduled send options 2022-11-28 20:33:03 -05:00
stvnrlly
c8486ea015 midday → noon 2022-11-28 16:57:49 -05:00
stvnrlly
86b28e5e44 some test updates 2022-11-22 16:33:55 -05:00
jimmoffet
dad051a662 2767 passing 2022-08-05 00:25:03 -07:00
Ben Thorner
6ba84140e5 Add test for rendering integer 0 in form input 2022-03-11 11:18:21 +00:00
Ben Thorner
e0b62bed70 Group form tests in a directory
This makes it clearer we have tests for the code in forms.py, which
I missed initially. In future we could also split up forms.py in a
similar way, as it's currently _very long_.

As part of grouping tests for code in forms.py, I've extracted some
from test_validators.py, so that what remains is focussed on testing
the code in validators.py.
2022-03-11 11:17:43 +00:00