Commit graph

533 commits

Author SHA1 Message Date
Alysia Broddrick
29b8c72911
fixed tests and linter 2023-09-12 21:48:27 -07:00
Rebecca Hsieh
02220feb7a
Merge branch 'main' of https://github.com/cisagov/getgov into rh/446-remove-type-of-work-q 2023-09-12 17:11:38 -07:00
David Kennedy
31d04c0269
added test for case where no status 2023-09-12 14:47:22 -04:00
David Kennedy
74fa04fd6c
merge updates from main 2023-09-12 12:46:43 -04:00
David Kennedy
4b86a056db
some updates to test code 2023-09-12 12:16:58 -04:00
David Kennedy
1520e80adc
reformatted code to satisfy linter 2023-09-11 16:10:59 -04:00
David Kennedy
3752148630
added test for DomainApplicationAdminForm 2023-09-11 15:46:03 -04:00
Rachid Mrad
08c50fba63
Copy edits on the error msg 2023-09-08 16:56:56 -04:00
Rachid Mrad
e14ac58cd7
lint and tests for the staff perm changes 2023-09-07 15:32:45 -04:00
Rachid Mrad
0ed550b327
lint 2023-09-07 14:04:20 -04:00
Rachid Mrad
d859a8be03
Merge remote-tracking branch 'origin/main' into rjm/811-approved-rejected-approved 2023-09-07 13:56:21 -04:00
David Kennedy
0c1e8a2dda
fixed a merge issue, and some code reformatting 2023-09-07 07:42:07 -04:00
David Kennedy
e4922b8543
merge of main 2023-09-07 07:30:16 -04:00
David Kennedy
5c41e4a28f
refactored DomainAdmin response_change into multiple methods; updated create_user in common.py for properly setting is_staff for test users; added tearDown for TestDomainAdmin 2023-09-07 07:18:38 -04:00
Rebecca Hsieh
34a2f39fdf
Fix linting and tets 2023-09-06 16:40:57 -07:00
David Kennedy
744c6fa48a
added test for DomainAdmin to test_place_and_remove_hold; added mock data for mock domain 2023-09-06 17:06:55 -04:00
Rachid Mrad
0568928f1a
lint 2023-09-06 15:25:17 -04:00
Rachid Mrad
5fd84b534d
Unit test the unallowed transitions, error message on admin, and side effects of successful transitions 2023-09-06 15:19:32 -04:00
Rebecca Hsieh
a4adb5ed46
Changes but with comments this time 2023-09-04 12:07:57 -07:00
zandercymatics
7e0a4aea76
Merge branch 'main' into za/806-analyst-view-domain-management-data 2023-08-30 07:47:37 -06:00
zandercymatics
4dd175f2a0
Rebuild sandbox 2023-08-30 07:43:26 -06:00
Rachid Mrad
501cddebde
Change ineligible to restricted on User, fix status tempplate for DAs 2023-08-29 14:16:39 -04:00
zandercymatics
6ac5852546
Linter 2023-08-28 15:31:14 -06:00
zandercymatics
31d4bfb5a7
Test case fix / remove redundant 2023-08-28 15:23:27 -06:00
zandercymatics
7d404d5494
Logging test
Temporarily removed assertEqual to log weird values
2023-08-28 14:43:40 -06:00
zandercymatics
b1f2b4a663
Sandbox unit test fix attempt 2023-08-28 10:22:43 -06:00
zandercymatics
5384bb1fe7
Snake case 2023-08-28 10:00:36 -06:00
zandercymatics
88f5eb96e9
Logger for sandbox 2023-08-28 09:08:48 -06:00
zandercymatics
a92ad17856
Better logging / test cases 2023-08-28 09:01:12 -06:00
rachidatecs
b6af335e03
Merge remote-tracking branch 'origin/main' into rjm/797-ineligible-status 2023-08-25 15:11:31 -04:00
rachidatecs
a676da486a
lint 2023-08-25 14:26:50 -04:00
rachidatecs
6c308332b0
Add more controls and messaging, unit tests 2023-08-25 12:13:41 -04:00
zandercymatics
81e5f5f8bb
More code cleanup 2023-08-25 08:43:47 -06:00
zandercymatics
0378f1570e
Code cleanup
Had some older code lying around
2023-08-25 08:34:13 -06:00
zandercymatics
c46f27d53b
Test cases 2023-08-25 07:42:34 -06:00
rachidatecs
91d1b9c1cc
Lint 2023-08-24 19:09:57 -04:00
rachidatecs
4b82f5e131
Add constraint on admin saving a domain application when its creator is ineligible, make all fields readonly when creator is ineligible 2023-08-24 18:53:20 -04:00
zandercymatics
251b8291f9
Merge branch 'main' into za/813-sort-dropdowns-alphabetically 2023-08-22 10:54:20 -06:00
rachidatecs
96ea396da4
Unit tests for transition sets user status to ineligible and deomain and application permissions 2023-08-18 18:52:47 -04:00
zandercymatics
0978c91450
Test fix 2023-08-18 09:15:12 -06:00
zandercymatics
3beb23262b
Sort on domain_application 2023-08-18 08:51:04 -06:00
zandercymatics
2db74e6b00
Black changes - would not pass otherwise 2023-08-17 15:32:19 -06:00
zandercymatics
aef9df5296
PR changes 2023-08-17 14:55:21 -06:00
zandercymatics
40b5d7ec5c
Black formatting 2023-08-17 11:41:07 -06:00
zandercymatics
080a70e613
Why must the linter lint? 2023-08-17 11:24:35 -06:00
zandercymatics
f31258d2b0
Linter things / Rachid suggestions 2023-08-16 14:26:17 -06:00
zandercymatics
738b75a7df
Updated test cases / common.py helpers
Expanded some test cases and added some common.py helpers for future tests
2023-08-16 12:32:17 -06:00
rachidatecs
e1d78bda5a
lint 2023-08-14 12:58:47 -04:00
rachidatecs
f7c9c1c42c
Fix the approve() sets status to None bug by calling the transition methods on the current obj (as opposed to the old obj) in django admin 2023-08-14 12:39:34 -04:00
zandercymatics
23405cd145
Lint 2023-08-14 09:47:16 -06:00