Cliff Hill
e04adba4fd
Test written for get_id_token.
...
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov >
2024-10-21 16:41:50 -04:00
Jonathan Bobel
3ad6f9daae
Removing reference to financial year
2024-10-08 16:37:33 -04:00
Jonathan Bobel
65c99bf8e8
Removing instances of a financial year
2024-10-08 16:12:50 -04:00
Cliff Hill
6b8be20ed2
Black & isort.
...
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov >
2024-08-02 14:50:52 -04:00
Beverly Nguyen
8461c6156b
created testing for activity page
2024-07-25 17:09:17 -07:00
Kenneth Kehl
9af1d922d3
merge from main
2024-07-23 07:20:05 -07:00
Kenneth Kehl
bf556eb408
make settings button invisible if you don't have permission to manage settings
2024-07-16 13:01:12 -07:00
Kenneth Kehl
8489fb9e61
update flake8-pytest-style-plugin
2024-07-15 08:07:18 -07:00
Kenneth Kehl
058a999ed0
ugh
2024-07-11 09:38:32 -07:00
Carlo Costino
9a83ba7475
Localize notification_utils to the admin
...
This changeset pulls in all of the notification_utils code directly into the admin and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the admin.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-05-16 10:37:37 -04:00
Andrew Shumway
c4401b3394
Merge branch 'main' of https://github.com/GSA/notifications-admin into sms-allowance-dashboardbug
2024-03-26 10:04:14 -06:00
Kenneth Kehl
96d5e72514
change Recipient to Phone Number
2024-02-21 10:30:24 -08:00
Kenneth Kehl
3363cc6979
change test phone number
2024-02-21 09:09:45 -08:00
Kenneth Kehl
4742cc77b5
change batch file report to look like full csv report
2024-02-21 07:45:21 -08:00
Kenneth Kehl
53549495ea
remove Type and change Job to Batch File
2024-02-14 10:39:52 -08:00
Kenneth Kehl
2aa9f2c532
remove carrier column
2024-02-09 07:27:28 -08:00
Andrew Shumway
6999d72f76
Fix dashboard bug/usage page
2024-02-07 09:38:18 -07:00
Kenneth Kehl
80135b2ff6
notify-api-771 fix columns in reports
2024-02-05 12:27:40 -08:00
Kenneth Kehl
a38518777c
change download reports to 12 hour time
2024-01-24 11:03:19 -08:00
stvnrlly
f600dd95d6
remove email branding
2023-12-18 16:10:12 -05:00
Kenneth Kehl
36987e7202
notify-api-861 show eastern time
2023-11-16 12:24:27 -08:00
Kenneth Kehl
6e19fab1d5
more tests
2023-11-03 10:38:38 -07:00
Kenneth Kehl
90025ded54
notify-admin-866 improve tests with noqa comments
2023-10-26 08:33:59 -07:00
Carlo Costino
06fab2dd03
Ignoring two specific warnings about wrong values type
...
The test makes use of list item unpacking and expects the parameter data structure to allow for that. It does not make sense to modify the code in this case just to make test format linting pass.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-10-12 10:24:48 -04:00
Carlo Costino
95ba7c3099
More formatting fixes for tests
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-10-12 10:24:48 -04:00
Kenneth Kehl
5bc752a826
fix tests
2023-09-22 10:05:50 -07: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
Kenneth Kehl
4229448a67
fix tests
2023-07-03 08:20:12 -07:00
Kenneth Kehl
618c2eb6bb
fix skips and xfails
2023-05-26 12:35:48 -07: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
a8b8d09fb7
post-gray test updates
2022-12-02 10:30:37 -05:00
stvnrlly
e12e780a05
code cleanup
2022-11-28 15:53:56 -05:00
stvnrlly
77c0faf4e5
more test fixes, one test remaining
2022-11-28 13:51:37 -05:00
stvnrlly
ca1897973a
test time fixes and bonus letter removal
2022-11-22 17:03:42 -05:00
stvnrlly
218eb3559f
Merge branch 'main' into stvnrlly-remove-broadcasts
2022-10-26 01:27:44 +00:00
stvnrlly
f16b5dd1c4
remove broadcast-related code
2022-10-04 03:04:13 +00:00
stvnrlly
947140bd60
isort has opinions, fine
2022-09-15 20:37:38 +00:00
stvnrlly
f2eaa120e4
satisfy flake8
2022-09-15 19:14:19 +00:00
stvnrlly
3e7b5b4370
update tests based on updated orgs
2022-09-15 18:47:04 +00:00
jimmoffet
b465131338
all tests passing
2022-08-05 01:22:32 -07:00
jimmoffet
dad051a662
2767 passing
2022-08-05 00:25:03 -07:00
Chris Hill-Scott
30eebf3586
Reorder and label test cases
...
This commit takes the existing test cases, removes duplicates, and tries
to add a human-readable comment explaining what each one is testing.
2022-06-06 15:10:27 +01:00
Chris Hill-Scott
ea9c7e6102
Use existing user fixture
2022-06-06 15:10:27 +01:00
Chris Hill-Scott
f779a97b5c
Use decorator as decorator
...
This syntax makes it clearer what is being tested here, because it’s
unusual to see a decorator being manually called with function as its
first argument.
It’s also consistent with how the later tests in this file are written.
2022-06-06 13:55:25 +01:00
Chris Hill-Scott
122a045142
Define user inside each test
...
This user is only re-used once, which isn’t a big saving. By putting it
inside the test it’s easy to see what special conditions are being set
up that result in the expected outcometest result.
2022-06-06 13:46:39 +01:00
Chris Hill-Scott
60870c69a7
Split platform admin test out
...
By making the one platform admin case a separate test we no longer
need to pass in a `user` or `kwargs` to the parametrize every time,
making it easier to read.
2022-06-06 13:45:29 +01:00
Chris Hill-Scott
f79c3f27e3
Use fixture to create user dict
...
This removes a bunch of dummy data which isn’t relevant to the tests
being run.
2022-06-06 13:44:36 +01:00
Chris Hill-Scott
e6e2770a04
Rewrite test_permissions with parametrize
...
It’s easier to see what the different test cases are when they are laid
out with `parametrize`, rather than separate functions with lots of
boilerplate.
2022-06-06 13:43:46 +01:00