Alex Janousek
b2f86e045f
Sometimes test hang up and time out due to network errors ( #2853 )
...
* Fixed disable button, formated time to include time zone
* Fixed bandit
* Fix hanging test
2025-08-21 17:23:30 -04:00
Alex Janousek
5c00ee1840
Fix/main build 2 ( #2819 )
...
* Removed double slash
* Fixing race condition with testing
* Created cleaner solution
* Keeping flash alive longer so tests finish in main build
2025-08-07 12:52:56 -07:00
Beverly Nguyen
afaae0a695
Merge branch 'main' into 2721-create-enums-and-replace-hardcoded-status-strings-with-enums-PART5
2025-07-22 12:55:45 -07:00
Beverly Nguyen
1ac907d359
update test
2025-07-22 11:12:26 -07:00
Beverly Nguyen
5b22187cef
update test
2025-07-22 11:00:43 -07:00
Beverly Nguyen
814ccf0665
refactor conftest.py
2025-07-22 10:44:58 -07:00
Beverly Nguyen
32ca1abe9b
servicepermission enum part 5
2025-07-21 16:37:55 -07:00
Kenneth Kehl
30093673d0
inline notifications-python-client
2025-06-10 11:40:14 -07:00
Kenneth Kehl
8489fb9e61
update flake8-pytest-style-plugin
2024-07-15 08:07:18 -07:00
Kenneth Kehl
9368f6a496
remove some fixtures
2024-05-29 14:18:08 -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
Kenneth Kehl
e51517347f
convert to test fixture
2024-05-08 11:06:10 -07: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
Carlo Costino
564fc73521
Fixed up documentation to match current state; blackened formatting
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-02-23 17:38:47 -05:00
Carlo Costino
4180dca164
Last bits of cleanup with pytest configuration for E2E tests
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-02-23 11:24:03 -05:00
Carlo Costino
1b6446e213
Added a new E2ETest config and adjusted a couple of things
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-02-23 11:09:37 -05:00
Carlo Costino
997aa8e72f
Added missing environment variables for the server process
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-02-23 11:09:35 -05:00
Carlo Costino
c652c17617
Clean up and fix the E2E tests so that they run
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2024-02-23 11:09:35 -05:00
Andrew Shumway
5a440863af
Fix trial mode allowance bug
2024-02-07 14:43:39 -07:00
Andrew Shumway
10f732b390
Bundle stats with service object
2024-02-01 11:37:31 -07:00
Anastasia Gradova
69aaf174d7
Merge branch 'main' into 976-convert-start-pages-to-generate-markdown
2024-01-05 09:11:49 -07:00
Anastasia Gradova
7a1d9cf705
built new beautifulsoup function to apply
...
html tags to markdown file once processed
with test cases.
2024-01-03 22:01:07 -07:00
Andrew Shumway
7f7f553041
Fix sms allowance switching to live
2023-12-27 14:14:22 -07:00
Anastasia Gradova
c06d752f65
Style correction on conftest and test_formatters
2023-12-26 22:10:50 -07:00
Anastasia Gradova
a5ec03302e
Built py.test cases for convert_markdown_template
2023-12-26 22:04:06 -07:00
Carlo Costino
187ff4210c
Merge pull request #1032 from GSA/notify-api-769b
...
convert one-off sends to jobs
2023-12-21 17:39:20 -05:00
Cliff Hill
1a2e5a5111
Fixed tests.
...
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov >
2023-12-21 10:58:32 -05:00
Cliff Hill
c6072d6d3b
Fixing tests.
...
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov >
2023-12-20 14:53:02 -05:00
Cliff Hill
09e011fc9f
black, isort, flake8
...
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov >
2023-12-20 14:53:02 -05:00
Cliff Hill
0e7b371f90
Got tests in place.
...
Signed-off-by: Cliff Hill <clifford.hill@gsa.gov >
2023-12-20 14:53:02 -05:00
Kenneth Kehl
5a173330ca
merge from main
2023-12-20 10:26:50 -08:00
stvnrlly
f600dd95d6
remove email branding
2023-12-18 16:10:12 -05:00
Kenneth Kehl
bab0b53ffb
rework how we display error message for disallowed phone numbers
2023-12-18 12:31:40 -08:00
Carlo Costino
b0d2de703b
Updated tests with correct permissions and added test for no permissions
...
h/t @stvnrlly for the suggestions!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-12-11 16:59:04 -05:00
Andrew Shumway
f51d4be8de
Add tests with notify.gov/usnotify as default
2023-11-20 10:06:17 -07:00
Andrew Shumway
654b406827
Added/fixed tests to remove notify from message flow
2023-11-17 11:19:26 -07:00
Andrew Shumway
af119aad1c
Fixed parameter in client request
2023-11-02 16:28:07 -04:00
Andrew Shumway
62a09c5223
Added mock to client request for get request of count
2023-11-02 16:27:01 -04:00
Kenneth Kehl
b487a915f6
fix remaining tests
2023-10-30 08:42:11 -07:00
Carlo Costino
47695b97d3
Address flake8-pytest-style issues with conftest.py
...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-10-12 10:24:48 -04:00
Kenneth Kehl
ab71be0246
merge from main
2023-09-19 10:31:33 -07:00
Carlo Costino
d02d2de9dc
Made a few adjustments to test the beta redirect:
...
- Explicitly return the redirect
- Change the redirect to be a 302 instead of 301
- Adjusted the test client to allow sub domains
- Added the remaining tests
A big thank you to @A-Shumway42 for getting this work underway!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-09-18 15:59:28 -04:00
Kenneth Kehl
0218ffd9ba
notify-admin-761 remove basic auth
2023-09-14 07:47:38 -07:00
Kenneth Kehl
91f1790c89
fix up
2023-09-13 12:16:43 -07:00
Kenneth Kehl
93e4d1b4bb
fix whoops
2023-09-12 10:45:42 -07:00
Kenneth Kehl
29ea098fd3
make some progress
2023-09-08 12:53:35 -07:00
Kenneth Kehl
cc8f8dfcc2
initial
2023-09-08 08:38:27 -07:00
Kenneth Kehl
8c9721d8e2
notify-api-412 use black to enforce python coding style
2023-08-25 09:12:23 -07:00
Carlo Costino
d79e15c2a1
Clean up state of E2E tests
...
This changeset takes care of leaving E2E tests in a clean state so that
we can revisit the work later. The efforts to add authentication
support did not pan out, so we will go a different route in the near
future.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-08-24 15:31:21 -04:00
Carlo Costino
9e609efa1c
Remove webauthn hooks
...
This changeset removes webauthn from the Notify.gov admin app. We are not using webauthn at all in our implementation and will be looking at an entirely different authentication system in the near future.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov >
2023-08-14 16:59:38 -04:00