Kenneth Kehl
4299b46f8a
fix test
2024-08-01 09:23:26 -07:00
Kenneth Kehl
bd75e30f96
add test
2024-08-01 08:19:33 -07:00
Kenneth Kehl
905df17f65
remove datetime.utcnow()
2024-05-23 13:59:51 -07:00
Cliff Hill
afc1de61f6
Even more cleanup.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:58:22 -05:00
Cliff Hill
9cc3f1c1ff
Cleanup.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:20 -05:00
Cliff Hill
116078524e
Switching to using StrEnum, which is in an external lib until 3.11.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:44:15 -05:00
Cliff Hill
77bc5fbfb1
Trying to get the Auth Types to work right.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:37 -05:00
Cliff Hill
e64e500561
Debugging things is fun.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:37 -05:00
Cliff Hill
8907edc194
Got tests to use OrganizationType everywhere now.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:37 -05:00
Cliff Hill
8c6046b03b
Cleaning up tests.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:43:33 -05:00
Cliff Hill
43f18eed6a
More changes for enums.
...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov >
2024-02-28 12:41:57 -05:00
Kenneth Kehl
7392663b10
cleanup
2023-11-07 07:08:42 -08:00
Kenneth Kehl
aa7b5d3905
notify-api-533 add flask command to promote user to platform admin
2023-11-06 13:31:03 -08:00
Kenneth Kehl
a1890109d8
notify-api-490 fix sns region
2023-09-21 14:48:10 -07:00
stvnrlly
f764414bc2
Merge branch 'main' into notify-api-446
2023-09-06 16:05:45 -04:00
Kenneth Kehl
e9280b44b0
notify-api-446 change default text message sender from U.S. Notify
2023-08-31 08:14:23 -07:00
Kenneth Kehl
fb3a6cca68
notify-api-59 make command to create new service
2023-08-30 13:13:43 -07:00
Kenneth Kehl
1ecb747c6d
reformat
2023-08-29 14:54:30 -07:00
Kenneth Kehl
c5008da8df
cleanup
2023-08-15 11:44:47 -07:00
Kenneth Kehl
b4a2f37ca9
get coverage up to 94%
2023-08-14 09:04:06 -07:00
Kenneth Kehl
e1ce20f5e3
try a couple more
2023-08-14 07:41:17 -07:00
Kenneth Kehl
46f4d72292
try putting back a file based test
2023-08-14 07:21:18 -07:00
Kenneth Kehl
f94b0bfc59
remove the multiple workers from the tests
2023-08-11 15:02:34 -07:00
Kenneth Kehl
5c7cfb7b9e
remove the multiple workers from the tests
2023-08-11 14:42:21 -07:00
Kenneth Kehl
0f257c20f8
remove the multiple workers from the tests
2023-08-11 14:23:16 -07:00
Kenneth Kehl
f7b822b950
more fix because local is different for some reason
2023-08-11 13:58:35 -07:00
Kenneth Kehl
00a2f99346
more fix because local is different for some reason
2023-08-11 13:48:45 -07:00
Kenneth Kehl
a9dd560edf
more fix because local is different for some reason
2023-08-11 13:25:48 -07:00
Kenneth Kehl
dcb9563f9c
more fix because local is different for some reason
2023-08-11 13:14:04 -07:00
Kenneth Kehl
66fc5abb0a
more fix because local is different for some reason
2023-08-11 12:57:26 -07:00
Kenneth Kehl
288183b9e5
more fix because local is different for some reason
2023-08-11 12:47:06 -07:00
Kenneth Kehl
eaa8df4ab6
more fix because local is different for some reason
2023-08-11 12:34:06 -07:00
Kenneth Kehl
98208cff40
more fix because local is different for some reason
2023-08-11 12:21:54 -07:00
Kenneth Kehl
157a4bdb18
more fix because local is different for some reason
2023-08-11 12:07:08 -07:00
Kenneth Kehl
11a9351290
fix test
2023-08-11 11:57:00 -07:00
Kenneth Kehl
85604e5394
more tests
2023-08-11 11:47:57 -07:00
Kenneth Kehl
318bb01392
more
2023-08-10 12:58:52 -07:00
Kenneth Kehl
4940d5e93b
notify-api-332 rename organisation
2023-07-10 11:06:29 -07:00
Steven Reilly
dc06b411ca
Update default templates and add update command ( #166 )
...
This commit adds config_files for default data and, using that, creates a new way to update our default templates without needing to hardcode a migration.
---------
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov >
2023-02-03 10:11:21 -05:00
Ryan Ahearn
82df01653f
Update tests to focus on US numbers
2023-01-05 11:06:12 -05:00
stvnrlly
11d123051a
validate mobile number so that sms auth works
2022-10-28 14:42:25 -04:00
stvnrlly
19cdd9b052
tests & prompts for user creation command
2022-10-28 14:07:43 -04:00
stvnrlly
d4e156e8ae
Merge branch 'main' into stvnrlly-remove-broadcasts
2022-10-20 19:44:20 -04:00
stvnrlly
b0ed88e7a3
update tests
2022-10-12 16:39:17 +00:00
stvnrlly
0186095920
swap out uk org types for us-specific org types
2022-10-11 20:27:49 +00:00
stvnrlly
53204c307b
tests are, uh, mostly passing
2022-10-05 01:12:35 +00:00
stvnrlly
57f4df8ed1
remove broadcast-related code, except migrations
2022-10-04 15:28:27 +00:00
Rebecca Law
1e473fd216
Unit test for command
2022-03-22 10:33:05 +00:00
Katie Smith
67d1b3719e
Stop blank strings being inserted as inbound numbers
...
We had an inbound number in the database with a value of ''. This
could happen if there are blank lines in the inbound numbers file
we use for the `insert-inbound-numbers` command. To avoid this
happening again, the command now calls `.strip()` on each line of the
file and only inserts a row if the result is truthy (i.e. not '').
2022-03-01 15:31:54 +00:00
Ben Thorner
c9ea85938a
Refactor "create_user" to actually create a user
...
This switches a number of fixtures to use "sample_user", which is
equivalent to calling the previous "create_user" function when it
used to default the email to "notify@...".
2021-09-14 09:29:28 +01:00