Beverly Nguyen
88c3da5579
add testing
2025-01-13 13:39:34 -08:00
Cliff Hill
f95d3e0b99
Made changes I requested to be done.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-07-02 15:38:22 -04:00
Anastasia Gradova
b2e5522d09
Corrected test cases for new stats endpoints
2024-06-24 17:58:37 -06:00
Anastasia Gradova
227b9a3fc9
Merge branch 'main' into 1006-new-api-failed-and-delivered-messages-7-days
2024-06-05 11:47:55 -06:00
Anastasia Gradova
140e40ebe0
Updated pytest for new return values
2024-05-25 22:14:51 -06:00
Kenneth Kehl
905df17f65
remove datetime.utcnow()
2024-05-23 13:59:51 -07:00
Cliff Hill
9d17d3a9ca
Fixing tests, fixing tests...
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:23 -05:00
Cliff Hill
a118b16eb8
Replaced "delivered".
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:22 -05:00
Cliff Hill
9fde1f30ea
"sms" entries cleaned up.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:17 -05:00
Cliff Hill
8e8749a40e
More fixes.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:54:13 -05:00
Cliff Hill
cd081ef163
Down to 11 errors left to fix for tests.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:19 -05:00
Cliff Hill
26bc6198f8
Cleaning up tests.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:34 -05:00
Cliff Hill
df866e40f7
More Enum goodness.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:27 -05:00
Andrew Shumway
afd77cf9fe
Returned months changed to calendar year
2024-02-07 14:53:26 -07:00
Kenneth Kehl
1ecb747c6d
reformat
2023-08-29 14:54:30 -07:00
Kenneth Kehl
9f9e0a6ad8
notify-136 change financial year starting in april to calendar year ( #278 )
...
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us >
2023-06-14 16:19:11 -04:00
Steven Reilly
ff4190a8eb
Remove letters-related code ( #175 )
...
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this.
Areas affected:
- Things obviously about letters
- PDF tasks, used for precompiling letters
- Virus scanning, used for those PDFs
- FTP, used to send letters to the printer
- Postage stuff
2023-03-02 20:20:31 -05:00
stvnrlly
9e7ee1c0f8
migrate bst_date to local_date
2022-11-21 11:49:59 -05:00
stvnrlly
213f699c99
time adjustments in tests
2022-11-14 14:23:54 -05:00
stvnrlly
3528bd37e1
update time handling for more tests
2022-11-10 16:54:48 -05:00
Ben Thorner
a91fde2fda
Run auto-correct on app/ and tests/
2021-03-12 11:45:45 +00:00
Rebecca Law
efad58edd8
There is no need to have a separate table to store template monthly statistics. It's easy enough to aggregate the stats from ft_notification_status.
...
This removes the nightly task, and all the dao methods.
The next PR will remove the table.
2019-01-14 16:30:36 +00:00
Rebecca Law
507138cc94
Create a new query for template monthly stats.
2019-01-10 16:24:51 +00:00
Pea Tyczynska
5d806c2437
Adjust tests to new way of querying for notification stats
2018-11-06 14:40:40 +00:00
Rebecca Law
019c6a4e3a
Revert "Purge notifications for configured days of retention"
2018-08-03 14:35:36 +01:00
Rebecca Law
0675f09afb
Need to be able to query the notification statistics for the right number of days.
...
If the request is for the big numbers on the activity page, then we need to use the number right number of days.
Added an end point to get the data retention for the service and notification type, which is needed on the activity page to say how long the report is available for.
2018-07-23 09:56:04 +01:00
Leo Hemsted
be52adc68f
add tests for monthly notification stats
2018-07-03 14:58:32 +01:00
Leo Hemsted
22496d9161
move stats endpoints to new file
...
(no new tests for new endpoint included in this commit)
2018-07-03 14:58:32 +01:00