Skip to content

Commit

Permalink
Alt & mutual fund unit test & cleanup (#4540)
Browse files Browse the repository at this point in the history
* Alternative & Mutual Funds unit tests & cleanup

* ruff

* add dependency

* general linting updates

* Update reqs

* pytest-recorder updates

* pre-commit config

* checkout dependencies from develop

* dependency update

* dependency update

* pytest-recorder updates

---------

Co-authored-by: James Maslek <[email protected]>
Co-authored-by: montezdesousa <[email protected]>
  • Loading branch information
3 people committed Apr 12, 2023
1 parent 16aaa26 commit bd0299b
Show file tree
Hide file tree
Showing 10 changed files with 214 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:22.0) Gecko/20130328 Firefox/22.0
method: GET
uri: https://tools.morningstar.co.uk/api/rest.svc/klr5zyak8x/security/screener?page=1&pageSize=1&sortOrder=LegalName+asc&outputType=json&version=1&universeIds=FOUSA%24%24ALL&currencyId=EUR&securityDataPoints=SecId%7CTenforeId%7CLegalName&term=Vanguard
response:
body:
string: '{"total": 306,"page": 1,"pageSize": 1,"rows": [{"SecId": "FOUSA00L8W","TenforeId":
"52.8.VFIAX","LegalName": "Vanguard 500 Index Fund Admiral Shares"}] }'
headers:
Access-Control-Allow-Headers:
- Content-Type,Accept,Origin
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- private
Connection:
- keep-alive
Content-Length:
- '153'
Content-Type:
- application/json
Date:
- Fri, 17 Mar 2023 11:28:45 GMT
Set-Cookie:
- ASP.NET_SessionId=c0wf1yawzkaezvv4mex0lv40; path=/; secure; HttpOnly; SameSite=None
Strict-Transport-Security:
- max-age=7200; includeSubDomains
Via:
- 1.1 d1059a03249ee23f5bc6527edaec7ed2.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- uvNVHZ4Yws8OjokF7RztJDGlIdzhSe3JYFrSgjeKNHIUFlMpFSeqXQ==
X-Amz-Cf-Pop:
- BUD50-C1
X-Cache:
- Miss from cloudfront
p3p:
- CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"
status:
code: 200
message: OK
version: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
user-agent:
- Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML,
like Gecko) Chrome/4.0.201.1 Safari/532.0
method: GET
uri: https://tools.morningstar.co.uk/api/rest.svc/klr5zyak8x/security/screener?page=1&pageSize=1&sortOrder=LegalName+asc&outputType=json&version=1&universeIds=FOUSA%24%24ALL&currencyId=EUR&securityDataPoints=SecId%7CTenforeId%7CLegalName&term=NYSE
response:
body:
string: '{"total": 4,"page": 1,"pageSize": 1,"rows": [{"SecId": "FOUSA00H4D","TenforeId":
"52.8.NWJCX","LegalName": "Nationwide NYSE Arca Tech 100 Index Fund Class
A"}] }'
headers:
Access-Control-Allow-Headers:
- Content-Type,Accept,Origin
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- private
Connection:
- keep-alive
Content-Length:
- '161'
Content-Type:
- application/json
Date:
- Fri, 17 Mar 2023 12:06:08 GMT
Set-Cookie:
- ASP.NET_SessionId=llbvre043eyr3usw0yf0c22v; path=/; secure; HttpOnly; SameSite=None
Strict-Transport-Security:
- max-age=7200; includeSubDomains
Via:
- 1.1 412b915bb2572a86aaa8bdf21eb381fc.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- lMbLAX7_XMYkfsbWXHhZJgc8L_n8JaO-CBGDIZkOFHmLXMWUn4iP2Q==
X-Amz-Cf-Pop:
- VIE50-C2
X-Cache:
- Miss from cloudfront
p3p:
- CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"
status:
code: 200
message: OK
version: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
user-agent:
- Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ko; rv:1.9.1b2) Gecko/20081201
Firefox/3.1b2
method: GET
uri: https://tools.morningstar.co.uk/api/rest.svc/klr5zyak8x/security/screener?page=1&pageSize=1&sortOrder=LegalName+asc&outputType=json&version=1&universeIds=FOUSA%24%24ALL&currencyId=EUR&securityDataPoints=SecId%7CTenforeId%7CLegalName&term=NYSEARCA%3AVUG
response:
body:
string: '{"total": 0,"page": 1,"pageSize": 1,"rows": [] }'
headers:
Access-Control-Allow-Headers:
- Content-Type,Accept,Origin
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- private
Connection:
- keep-alive
Content-Length:
- '48'
Content-Type:
- application/json
Date:
- Fri, 17 Mar 2023 12:05:52 GMT
Set-Cookie:
- ASP.NET_SessionId=rbfdjleve0heyd14hez3iin3; path=/; secure; HttpOnly; SameSite=None
Strict-Transport-Security:
- max-age=7200; includeSubDomains
Via:
- 1.1 218366faeb88f6d265d2589e37ea2dac.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- wsMF6hP2IvXzVL2rbct7DPpWbQPUDHtoouMtmnNUUV_NLyVlTEF2Wg==
X-Amz-Cf-Pop:
- VIE50-C2
X-Cache:
- Miss from cloudfront
p3p:
- CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"
status:
code: 200
message: OK
version: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
user-agent:
- Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ko; rv:1.9.1b2) Gecko/20081201
Firefox/3.1b2
method: GET
uri: https://tools.morningstar.co.uk/api/rest.svc/klr5zyak8x/security/screener?page=1&pageSize=1&sortOrder=LegalName+asc&outputType=json&version=1&universeIds=FOUSA%24%24ALL&currencyId=EUR&securityDataPoints=SecId%7CTenforeId%7CLegalName&term=UNH
response:
body:
string: '{"total": 2,"page": 1,"pageSize": 1,"rows": [{"SecId": "F000014BDG","TenforeId":
"52.8.FMIFX","LegalName": "FMI International Fund II - Currency Unhedged Institutional
Class"}] }'
headers:
Access-Control-Allow-Headers:
- Content-Type,Accept,Origin
Access-Control-Allow-Origin:
- '*'
Cache-Control:
- private
Connection:
- keep-alive
Content-Length:
- '178'
Content-Type:
- application/json
Date:
- Fri, 17 Mar 2023 12:06:08 GMT
Set-Cookie:
- ASP.NET_SessionId=aneql2wriafvglr1nbqhsou3; path=/; secure; HttpOnly; SameSite=None
Strict-Transport-Security:
- max-age=7200; includeSubDomains
Via:
- 1.1 1a276be771f01064831eea4851319c28.cloudfront.net (CloudFront)
X-Amz-Cf-Id:
- kSOAS498fOIjv1lr5DAfSR-NyfmRAUvjI6tu9UpuJFT4BqLLxyQFVg==
X-Amz-Cf-Pop:
- VIE50-C2
X-Cache:
- Miss from cloudfront
p3p:
- CP="NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM"
status:
code: 200
message: OK
version: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["fa67c5d959d916197202560793a0db235eced58141b0b4c244066e7f8b586359"]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["3a75581de2c48ccceb4c6133ee30daf2827776a3777f094d7fa012416b9ab49d"]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["1a543217a3a55894dbc9ec6f100711cccad6303589c6ca708d813db6ae8a5aec"]

0 comments on commit bd0299b

Please sign in to comment.