-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
259d128
commit b224d50
Showing
10 changed files
with
235 additions
and
10 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
219 changes: 219 additions & 0 deletions
219
newman/tests/hmda-filing/configs/2020-Q/test_yes_m_yes_q/hmda-filing-api-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,219 @@ | ||
[ | ||
{ | ||
"test-lei": "NEWMANLEITEST1234678", | ||
"filing-year": "2019", | ||
"testData": [ | ||
|
||
{ | ||
"testName": "create institution", | ||
"requestBody": { | ||
"activityYear": 2019, | ||
"lei": "NEWMANLEITEST1234678", | ||
"agency": 9, | ||
"institutionType": -1, | ||
"institutionId2017": "", | ||
"taxId": "84-7652134", | ||
"rssd": -1, | ||
"emailDomains": [ | ||
"newmantest.com" | ||
], | ||
"respondent": { | ||
"name": "Newman Bank", | ||
"state": "", | ||
"city": "" | ||
}, | ||
"parent": { | ||
"idRssd": -1, | ||
"name": "" | ||
}, | ||
"assets": -1, | ||
"otherLenderCode": -1, | ||
"topHolder": { | ||
"idRssd": -1, | ||
"name": "" | ||
}, | ||
"hmdaFiler": true, | ||
"quarterlyFiler": true, | ||
"quarterlyFilerHasFiledQ1": false, | ||
"quarterlyFilerHasFiledQ2": false, | ||
"quarterlyFilerHasFiledQ3": false}, | ||
"expectedResponse": { | ||
"activityYear": 2019, | ||
"lei": "NEWMANLEITEST1234678", | ||
"agency": 9, | ||
"institutionType": -1, | ||
"institutionId2017": "", | ||
"taxId": "84-7652134", | ||
"rssd": -1, | ||
"emailDomains": [ | ||
"newmantest.com" | ||
], | ||
"respondent": { | ||
"name": "Newman Bank", | ||
"state": "", | ||
"city": "" | ||
}, | ||
"parent": { | ||
"idRssd": -1, | ||
"name": "" | ||
}, | ||
"assets": -1, | ||
"otherLenderCode": -1, | ||
"topHolder": { | ||
"idRssd": -1, | ||
"name": "" | ||
}, | ||
"hmdaFiler": true, | ||
"quarterlyFiler": true, | ||
"quarterlyFilerHasFiledQ1": false, | ||
"quarterlyFilerHasFiledQ2": false, | ||
"quarterlyFilerHasFiledQ3": false}, | ||
"expectedMessage": "Institution NEWMANLEITEST1234678 already exists", | ||
"testNumber": 3 | ||
}, | ||
{ | ||
"testName": "institution get api call", | ||
"expectedResponse": { | ||
"activityYear": 2019, | ||
"lei": "NEWMANLEITEST1234678", | ||
"agency": 9, | ||
"institutionType": -1, | ||
"institutionId2017": "", | ||
"taxId": "84-7652134", | ||
"rssd": -1, | ||
"emailDomains": [ | ||
"newmantest.com" | ||
], | ||
"respondent": { | ||
"name": "Newman Bank", | ||
"state": "", | ||
"city": "" | ||
}, | ||
"parent": { | ||
"idRssd": -1, | ||
"name": "" | ||
}, | ||
"assets": -1, | ||
"otherLenderCode": -1, | ||
"topHolder": { | ||
"idRssd": -1, | ||
"name": "" | ||
}, | ||
"hmdaFiler": true, | ||
"quarterlyFiler": true, | ||
"quarterlyFilerHasFiledQ1": false, | ||
"quarterlyFilerHasFiledQ2": false, | ||
"quarterlyFilerHasFiledQ3": false}, | ||
"testNumber": 4 | ||
}, | ||
{ | ||
"testName": "create a filing", | ||
"expectedResponse": { | ||
"filing": { | ||
"period": { | ||
"year": 2019, | ||
"quarter": null | ||
}, | ||
"lei": "NEWMANLEITEST1234678", | ||
"status": { | ||
"code": 2, | ||
"message": "in-progress" | ||
}, | ||
"filingRequired": true, | ||
"start": 1562651878216, | ||
"end": 0 | ||
}, | ||
"submissions": [] | ||
}, | ||
"testNumber": 0 | ||
}, | ||
{ | ||
"testName": "create a submission", | ||
"expectedResponse": { | ||
"id": { | ||
"lei": "NEWMANLEITEST1234678", | ||
"period": { | ||
"year": 2019, | ||
"quarter": null | ||
}, | ||
"sequenceNumber": 1 | ||
}, | ||
"status": { | ||
"code": 1, | ||
"message": "No data has been uploaded yet.", | ||
"description": "The filing period is open and available to accept HMDA data. Make sure your data is in a pipe-delimited text file." | ||
}, | ||
"start": 1562655789617, | ||
"end": 0, | ||
"fileName": "", | ||
"receipt": "" | ||
}, | ||
"testNumber": 1 | ||
}, | ||
{ | ||
"testName": "filing psv upload test", | ||
"sourceFile": "tests/hmda-filing/configs/2019/test_yes_m_yes_q/newmanBank_yes_M_yes_Q_2019.txt", | ||
"expectedResponse": { | ||
"id": { | ||
"lei": "NEWMANLEITEST1234678", | ||
"period": "2019", | ||
"sequenceNumber": 7 | ||
}, | ||
"status": { | ||
"code": 3, | ||
"message": "Your file has been uploaded.", | ||
"description": "Your data is ready to be analyzed." | ||
}, | ||
"start": 1562662332293, | ||
"end": 0, | ||
"fileName": "", | ||
"receipt": "" | ||
}, | ||
"testNumber": 2 | ||
}, | ||
{ | ||
"testName": "get latest submission test", | ||
"expectedResponse": { | ||
"id": { | ||
"lei": "NEWMANLEITEST1234678", | ||
"period": { | ||
"year": 2019, | ||
"quarter": null | ||
}, | ||
"sequenceNumber": 12 | ||
}, | ||
"status": { | ||
"code": 9, | ||
"message": "Your data has syntactical and/or validity edits that need to be reviewed.", | ||
"description": "Your file has been uploaded, but the filing process may not proceed until the file is corrected and re-uploaded." | ||
}, | ||
"start": 1562662935676, | ||
"end": 0, | ||
"fileName": "newmanBank_yes_M_yes_Q_2019.txt", | ||
"receipt": "" | ||
}, | ||
"testNumber": 3 | ||
}, { | ||
"testName": "quality edits test", | ||
"requestBody": { | ||
"verified": true | ||
}, | ||
"testNumber": 4 | ||
}, | ||
{ | ||
"testName": "macro edits test", | ||
"requestBody": { | ||
"verified": true | ||
}, | ||
"testNumber": 5 | ||
}, | ||
{ | ||
"testName": "sign latest submission test", | ||
"requestBody": { | ||
"signed": true | ||
}, | ||
"testNumber": 6 | ||
} | ||
] | ||
} | ||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
newman/tests/hmda-filing/configs/2020/test_yes_m_yes_q/newmanBank_yes_M_yes_2020.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
1|Newman Test Bank|2020|4|Mr. Smug Pockets|555-555-5555|[email protected]|1234 Hocus Potato Way|Tatertown|UT|84096|9|5|84-7651434|NEWMANLEITEST1234678 | ||
2|NEWMANLEITEST1234678|NEWMANLEITEST1234678HUUFFUD0D482XE20GC348YS43|NA|1|2|2|2|1|372349|6|20201028|Exempt|Exempt|WI|Exempt|55047|55047100200|3|||||00EPU10KK950JLWVU0R6AE5ML1D6BZ7G3B0ML1N7JXMVB6EERKHA58OXHZ3AI5JH3MA29GGCMEKH2AXMXKW5WM|1|2||||54326U3Q7183B631F4W72T4OWYGU6STY2MCT1PTEYLLGSCVNZ4LI33L8007HYSVJ92VB0DYY7KUHVJF|3|1|4|41|26|5|2|UNT40X|QP3AKNN7TVYBT0DGJSXRRFNVH4HRCUU3NJZ29WFENBU1QW7YWCT30BSNRGDNZAYHUL67R0SFJX6QHVUAG085E5KJO7I80H4RJV|MAJ9PYZAG|4|||||RFUQ79DY5WJPUMDBCA33FFP2RVW43KT6UDO520E22GCMXM2DRY3L85JFTNRJBOMNHDDU0IMHJIQADJEKO0IRZP2LX0|RZX017OJB7JFZJCF7Y6FGJUOI9Z4E7JEXU0MWOGMDMJ9YPVX961OYU2F39YPCJUBSVPYK5T1AH928|AC945U4IHCBZ983QT0VPG029O50OPG7FKABSZVZDCY1MV6B1RCF6IXZOH92OO6Q|2|1|1|5|1|4|14|20|NA|9|NA|3|1|8888|8888|9||9||10|||||NA|NA|NA|NA|NA|20.2|NA|NA|NA|NA|7|1|2|2|1|242399|2|3|21|Exempt|3|3|NA|6||||||17||||||1|1|1 | ||
2|NEWMANLEITEST1234678|NEWMANLEITEST12346784736JW89FPTEFXCSK84EW3B13|20200523|1|4|2|2|1|92528|2|20200523|1234 Hocus Potato Way|Tatertown|IA|23844|19163|19163011600|13|||||YNWSDREKRGHNLD1WCLFDQRONS66EILG5S29OXFSNFV5W9XAG61IEAMGHOWNGQL6O4L8O5O|2|1||||SHVP84C4PSVS3U3ZA4MIF85WAIOH44HKKTBRV2NIZR3OLINCP6HBBXVYTW9NG7VTN|2|1|6|||||NDJQMY3WSD7A7BEMMFBDOT6J7CDMYOTXY13TO|Z9R97BJ7E88C|CO4XDRSWFFVCOP2BLUSLRG72E2HKK33VA0TLW45WK43N5DPR9CZ0M|3|||||16DTCSW613IQ0WMVYCOHSFSVUEB3GOOYSMAQ0V42MHN1XJH717RLAH2R70QSCSL6AUAQ0QXZJV9MBYJHHXJK3OXXPQFJ35LLULX|XSOGJ7RAGQD5U2FZGTG24P4TSRIHSDQCTVV12WBZLIO8JLLXL5K9ZFZSOFSYTODK72AZ8YFR0CJPB77L0HRLCYW|VTM6J|2|1|4|6|3|2|64|20|NA|0|NA|3|1|8888|691|9||8|ZMOCQUURORG4LQY6TQFEMIG21C5WAFO1I49DWJJTNCG6DY4Q1M2WB90D|10|||||NA|NA|NA|NA|NA|3.0300000000000002|NA|NA|24|NA|7|1111|1111|1111|1111|134822|3|5|5|5|1|2|NA|6||||||17||||||1|1111|1 | ||
2|NEWMANLEITEST1234678|NEWMANLEITEST1234678YSXWIKD418AJU1DF74Q3V2861|20201011|2|31|2|2|2|279101|4|20201011|1234 Hocus Potato Way|Tatertown|NY|55127|36047|36047037900|1|2||||A|12||||13|SMBHEMN6A96X60WNYPP3D6KV39BN886RP5QW6XD894RQP9GGRKCUXX0RQZX5FYK2LHXKXFAHEZ0O|1|3|4|43|5|3|2|PMWWU|S6IUFKZTMRNLZHGIOKE1JYHX8SA5BOYHQDNWCQKI|GIK5PGUI8U2O49Q4Y91PJ6PNNIZPJLXOSDIOPH16GSTBV0KTMY2YA|27|26|5|25|43|G41HLTYWULUOJ7DGJOLXWB9US5W4|WLDT4BW56QOIR3|ISZGHP2ARML2AZJ5SRHM9274HBXMZ8XVD7QKKHBGOAMGVZU84RY4MGXZ8UHA54IS754N1G|2|2|3|6|2|3|38|75|229|0|NA|3|2|8888|8888|9||9||10|||||NA|NA|NA|NA|NA|NA|NA|NA|NA|303|34|1111|1111|1111|1111|NA|2|5|1|NA|1111|1111|NA|1111||||||1111||||||1111|1111|1 | ||
2|NEWMANLEITEST1234678|D69KRDB870HULC3D6PLRYD|NA|3|31|2|2|1|388433|6|20200805|1234 Hocus Potato Way|Tatertown|VA|40874|51073|51073100202|3|||||FZP8I1FJ9V5TH4KFFDU4W9R1IMMN77MLD60GVBVZWQ9TW0P0XE|13|||||NPF6TGLI2LAFTQ12YN6GGSEILSLYITAGTP7TAATAT8M7B5LHFA0GBSF9RXLI6YK40X6MEGB9LZUTV5W63HMO9B|3|2|4|5|2|1|3|R7J9ZIN6IMW8LAU9Z1EC0GLTH3L00EX9IQJN7Y|S9SU0KEM2DOPJS1IR5|IPJB19Q0GBQ1HH5IHFY9E87SQWO3Z6ECVVJIPRC96D68HPHGSBPDMSTINPRYG1DQQ7F63R3S4NI0OPBC|3|||||QH0M1R3SAJTJDI9D30HN3QZGJVU80KDMF7FCANAXVQB55GIAP9L6BQDAOZBMV|SVRG0XR7AGXDNKPPOPXY7|OL58N2NIHTO1YBOW526O6LPYWYNV6DZMH3S3PF02OGIZ0PIZ1UIB3P7OZKXHA2EGHOCIQ5PXV57HMT4SY8DN|1|1|3|2|3|2|55|32|NA|9|NA|3|2|8888|8888|9||9||10|||||NA|NA|4567|7224|3616|20.2|NA|NA|NA|198|26|2|2|2|2|652497|3|5|2|NA|3|3|NA|6||||||17||||||2|2|1111 | ||
2|NEWMANLEITEST1234678|NEWMANLEITEST1234678JFVXXIOYR39QLDXL7GSGBCY39|NA|4|31|2|2|2|172593|6|20201123|1234 Hocus Potato Way|Tatertown|OH|12966|39119|39119911400|3|||||WZY060UO8FWO9H0GLYHQ1JPK2E7Y7AS4F0YAFM4Z8FNN49HRTQ1DGL5YK2I2U8H||11|2|||P0DYMZGG4WRWLD0C744MN4211WWUCKG30TFEPD1US76AUDSJ8CG0EHZ5PZP7R921G0BF6012YD0K|3|3|7|||||U8EGBK66ZWNHUL9GDXSZU11UV6JIBA2UBBWQJR5QIQ6LQRJF4K289PVGBP2S0V2XVP78KSBJORG6OT2951HBYZ|M4SFN2D262P81NXFF0Z5L0OWNMRVN3AKJZ2B60CNI5CMTFB3ZT|YHRW0Y1A31NSZN093114HX3JNUQV5|8|||||5KEFGEHO5U6P0WQQSGJU1WQSYM4Y4IAI31XFIUSLUTF1RAREY038WFDUMNLHCKSEFYNYB8HHNLA64A7E52E1JEGVTG1H|LX|CU1U394O9G1W41BZLDZHDKB9L|3|4|1|2|3|1|27|80|NA|1|NA|1|2|8888|8888|9||9||10|||||NA|NA|672|5321|6641|4.04|NA|NA|NA|149|23|1111|1111|1111|1111|372336|3|5|15|15|3|3|NA|6||||||17||||||2|1111|1111 |