Commit graph

296 commits

Author SHA1 Message Date
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
zandercymatics
5fd842233a
Linting stuff 2023-08-14 09:13:22 -06:00
zandercymatics
4fa9e78688
Battle of the linter, circa 2023 2023-08-14 08:59:22 -06:00
zandercymatics
0b2faac625
Removed logger.debug 2023-08-13 21:34:42 -06:00
zandercymatics
c7cba16e3c
Test case 2023-08-13 21:34:00 -06:00
zandercymatics
9df58515e3
Update test_admin.py 2023-08-11 12:42:16 -06:00
zandercymatics
d99260f70a
Uncommited changes for tests
Test cases still a WIP - unsure as to why these two querysets are ordered differently. Otherwise the sorting logic is there
2023-08-11 12:41:45 -06:00
rachidatecs
e639d944e9
Fix unit test for the action needed email 2023-08-01 15:41:48 -04:00
rachidatecs
92b1b0c261
linter 2023-07-14 16:25:46 -04:00
rachidatecs
9985125a0a
update unit test for action needed 2023-07-14 16:09:50 -04:00
rachidatecs
0547e88b00
resolve merge issues with stray INVESTIGATING statuses 2023-07-14 15:47:09 -04:00
rachidatecs
267f76eb62
Merge remote-tracking branch 'origin/main' into rjm/757-action-needed-759-rejected 2023-07-14 15:31:20 -04:00
rachidatecs
5fa388ee2c
Change investigating to in review 2023-07-13 14:10:29 -04:00
rachidatecs
a0d8c4eb40
Fix issue with tearDown on admin unit tests 2023-07-13 13:42:24 -04:00
rachidatecs
54bc17ff83
Merge remote-tracking branch 'origin/main' into rjm/757-action-needed-759-rejected 2023-07-13 13:29:59 -04:00
rachidatecs
616b9345f1
Remove unecessary self argument 2023-07-13 13:15:07 -04:00
rachidatecs
cbc2975c1d
Missing unit tests and linting 2023-07-12 16:10:30 -04:00
rachidatecs
a92ca84ccb
cleanup 2023-07-07 11:09:15 -04:00
rachidatecs
52dc04c1ac
Expose users in django admin for CISA Analysts while hiding uuids 2023-07-07 11:01:15 -04:00
rachidatecs
4eafe9a2f8
linting 2023-07-06 15:30:36 -04:00
rachidatecs
10b0700657
Convert investigator id to investigator name in descriptive subheader on admin lists, update unit test, linting 2023-07-06 13:57:27 -04:00
rachidatecs
cb1dca6864
Unbreak the test_changelist_view test 2023-06-30 13:04:21 -04:00
rachidatecs
0906d3d3cc
Test the test_changelist_view test in CI by breaking it on purpose 2023-06-30 12:57:54 -04:00
rachidatecs
0ee7e71fc1
Merge remote-tracking branch 'origin/main' into rjm/680-admin-workshop 2023-06-30 12:34:01 -04:00
rachidatecs
31a18bbd50
cleanup and linting 2023-06-30 12:08:31 -04:00
rachidatecs
15688b8fdb
wip 2023-06-29 18:21:41 -04:00
rachidatecs
22e73c6fc2
test unallowed transitions in model 2023-06-21 18:15:13 -04:00
rachidatecs
94d5682b24
Implement all statuses in application admin class, implement approved email, consolidate email methods in application model class, unit test emails sends as side-effects of admin save 2023-06-20 19:10:58 -04:00
rachidatecs
9c43fb65a9
Clean up domain in review assignment in unit test 2023-06-13 15:43:53 -04:00
rachidatecs
f3bf3f9e66
Add logging, templatize SUMMARY in email templates, templatize complete_application in tests, to integrate FSM inspect the status change that was made in the admin view here and call the transition method that's now defined in the model 2023-06-12 17:29:30 -04:00
rachidatecs
54efe9ee32
change asserts to self.assert 2023-06-08 22:25:47 -04:00
rachidatecs
809c752397
lint 2023-06-07 14:50:38 -04:00
rachidatecs
efc800a3bf
Personalize the unit test to look for the 'in review' copy in th email's body 2023-06-07 14:26:44 -04:00
rachidatecs
31295053f9
Implement 'investigating' email templates and tigger email send on admin domain application save, status change to investidated. 2023-06-07 13:19:22 -04:00