Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(deps): update vcrpy to v5.1.0 #187

Merged
merged 2 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pytest>=6
pytest-asyncio>=0.17
pytest-vcr
vcrpy==5.0.0
vcrpy==5.1.0
python-dotenv>=0.10,<2
26 changes: 11 additions & 15 deletions tests/cassettes/test_get_collection_schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
X-Requested-With:
- XMLHttpRequest
method: POST
Expand All @@ -28,7 +28,7 @@ interactions:
Content-Length:
- '0'
Date:
- Wed, 31 Aug 2022 19:15:10 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Location:
- https://tilasto.jatekukko.fi/jatekukko/secure/welcome.do
Server:
Expand All @@ -38,11 +38,10 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 303
message: See Other
url: https://tilasto.jatekukko.fi/jatekukko/j_acegi_security_check?target=2
- request:
body: null
headers:
Expand All @@ -53,7 +52,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
X-Requested-With:
- XMLHttpRequest
method: GET
Expand All @@ -68,7 +67,7 @@ interactions:
Content-Security-Policy:
- frame-ancestors 'none'
Date:
- Wed, 31 Aug 2022 19:15:10 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Location:
- https://tilasto.jatekukko.fi/jatekukko/secure/well.do
Server:
Expand All @@ -78,11 +77,10 @@ interactions:
X-Frame-Options:
- DENY
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 303
message: See Other
url: https://tilasto.jatekukko.fi/jatekukko/secure/welcome.do
- request:
body: null
headers:
Expand All @@ -93,7 +91,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
X-Requested-With:
- XMLHttpRequest
method: GET
Expand Down Expand Up @@ -136,7 +134,7 @@ interactions:
Content-Type:
- application/json;charset=UTF-8
Date:
- Wed, 31 Aug 2022 19:15:10 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Expires:
- Thu, 01 Jan 1970 00:00:00 GMT
Pragma:
Expand All @@ -148,11 +146,10 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 200
message: OK
url: https://tilasto.jatekukko.fi/jatekukko/secure/well.do
- request:
body: null
headers: {}
Expand All @@ -169,7 +166,7 @@ interactions:
Content-Type:
- application/json;charset=UTF-8
Date:
- Wed, 31 Aug 2022 19:15:10 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Expires:
- Thu, 01 Jan 1970 00:00:00 GMT
Pragma:
Expand All @@ -183,9 +180,8 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 200
message: OK
url: https://tilasto.jatekukko.fi/jatekukko/get_collection_schedule.do?customerNumber=00-0000000-00&pos=1234
version: 1
46 changes: 20 additions & 26 deletions tests/cassettes/test_get_invoice_headers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
method: GET
uri: https://tilasto.jatekukko.fi/jatekukko/secure/get_invoice_headers_for_customer.do?customerId=00-0000000-00
response:
Expand All @@ -24,7 +24,7 @@ interactions:
Content-Type:
- text/html;charset=UTF-8
Date:
- Wed, 31 Aug 2022 19:15:11 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Location:
- https://tilasto.jatekukko.fi/jatekukko/login.do
Server:
Expand All @@ -34,11 +34,10 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 302
message: Found
url: https://tilasto.jatekukko.fi/jatekukko/secure/get_invoice_headers_for_customer.do?customerId=00-0000000-00
- request:
body: null
headers:
Expand All @@ -49,7 +48,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
method: GET
uri: https://tilasto.jatekukko.fi/jatekukko/login.do
response:
Expand All @@ -67,7 +66,7 @@ interactions:
Content-Type:
- text/html;charset=utf-8
Date:
- Wed, 31 Aug 2022 19:15:11 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Server:
- nginx
Strict-Transport-Security:
Expand All @@ -77,11 +76,10 @@ interactions:
X-Frame-Options:
- DENY
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 200
message: OK
url: https://tilasto.jatekukko.fi/jatekukko/login.do
- request:
body:
j_password: secret
Expand All @@ -98,7 +96,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
X-Requested-With:
- XMLHttpRequest
method: POST
Expand All @@ -111,7 +109,7 @@ interactions:
Content-Length:
- '0'
Date:
- Wed, 31 Aug 2022 19:15:11 GMT
- Mon, 22 Jan 2024 21:06:08 GMT
Location:
- https://tilasto.jatekukko.fi/jatekukko/secure/welcome.do
Server:
Expand All @@ -121,11 +119,10 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 303
message: See Other
url: https://tilasto.jatekukko.fi/jatekukko/j_acegi_security_check?target=2
- request:
body: null
headers:
Expand All @@ -136,7 +133,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
X-Requested-With:
- XMLHttpRequest
method: GET
Expand All @@ -151,7 +148,7 @@ interactions:
Content-Security-Policy:
- frame-ancestors 'none'
Date:
- Wed, 31 Aug 2022 19:15:11 GMT
- Mon, 22 Jan 2024 21:06:09 GMT
Location:
- https://tilasto.jatekukko.fi/jatekukko/secure/well.do
Server:
Expand All @@ -161,11 +158,10 @@ interactions:
X-Frame-Options:
- DENY
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 303
message: See Other
url: https://tilasto.jatekukko.fi/jatekukko/secure/welcome.do
- request:
body: null
headers:
Expand All @@ -176,7 +172,7 @@ interactions:
Host:
- tilasto.jatekukko.fi
User-Agent:
- Python/3.8 aiohttp/3.8.1
- Python/3.12 aiohttp/3.9.0
X-Requested-With:
- XMLHttpRequest
method: GET
Expand Down Expand Up @@ -219,7 +215,7 @@ interactions:
Content-Type:
- application/json;charset=UTF-8
Date:
- Wed, 31 Aug 2022 19:15:11 GMT
- Mon, 22 Jan 2024 21:06:09 GMT
Expires:
- Thu, 01 Jan 1970 00:00:00 GMT
Pragma:
Expand All @@ -231,21 +227,20 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 200
message: OK
url: https://tilasto.jatekukko.fi/jatekukko/secure/well.do
- request:
body: null
headers: {}
method: GET
uri: https://tilasto.jatekukko.fi/jatekukko/secure/get_invoice_headers_for_customer.do?customerId=00-0000000-00
response:
body:
string: '[{"id":"3","parentId":null,"name":"LASKU 3","time":"2020-12-01","amount":null,"unit":null,"unitPrice":null,"vatlessSumPrice":null,"vatAmount":null,"total":32.34,"hasChildren":false,"linkId":null,"benchmark":null,"invoiceNumber":3,"referenceNumber":"33","comment":null,"orderNumber":null,"dueDate":"2020-12-31","delayInterestRate":null,"paymentRule":null,"link":"/secure/download.do?invoice=3","accomplishedPayments":0.0},{"id":"2","parentId":null,"name":"LASKU
2","time":"2020-06-01","amount":null,"unit":null,"unitPrice":null,"vatlessSumPrice":null,"vatAmount":null,"total":22.34,"hasChildren":false,"linkId":null,"benchmark":null,"invoiceNumber":2,"referenceNumber":"22","comment":null,"orderNumber":null,"dueDate":"2020-06-30","delayInterestRate":null,"paymentRule":null,"link":"/secure/download.do?invoice=2","accomplishedPayments":0.0},{"id":"1","parentId":null,"name":"LASKU
1","time":"2019-12-01","amount":null,"unit":null,"unitPrice":null,"vatlessSumPrice":null,"vatAmount":null,"total":12.34,"hasChildren":false,"linkId":null,"benchmark":null,"invoiceNumber":1,"referenceNumber":"11","comment":null,"orderNumber":null,"dueDate":"2019-12-31","delayInterestRate":null,"paymentRule":null,"link":"/secure/download.do?invoice=1","accomplishedPayments":0.0}]'
string: '[{"id":"3","parentId":null,"name":"LASKU 3","time":"2020-12-01","amount":null,"unit":null,"unitPrice":null,"vatlessSumPrice":null,"vatAmount":null,"total":32.34,"hasChildren":false,"linkId":null,"benchmark":null,"invoiceNumber":3,"referenceNumber":"33","comment":null,"orderNumber":null,"dueDate":"2020-12-31","delayInterestRate":null,"paymentRule":null,"link":"/secure/download.do?invoice=3","invoicingStatus":"0","accomplishedPayments":0.0},{"id":"2","parentId":null,"name":"LASKU
2","time":"2020-06-01","amount":null,"unit":null,"unitPrice":null,"vatlessSumPrice":null,"vatAmount":null,"total":22.34,"hasChildren":false,"linkId":null,"benchmark":null,"invoiceNumber":2,"referenceNumber":"22","comment":null,"orderNumber":null,"dueDate":"2020-06-30","delayInterestRate":null,"paymentRule":null,"link":"/secure/download.do?invoice=2","invoicingStatus":"A","accomplishedPayments":0.0},{"id":"1","parentId":null,"name":"LASKU
1","time":"2019-12-01","amount":null,"unit":null,"unitPrice":null,"vatlessSumPrice":null,"vatAmount":null,"total":12.34,"hasChildren":false,"linkId":null,"benchmark":null,"invoiceNumber":1,"referenceNumber":"11","comment":null,"orderNumber":null,"dueDate":"2019-12-31","delayInterestRate":null,"paymentRule":null,"link":"/secure/download.do?invoice=1","invoicingStatus":"A","accomplishedPayments":0.0}]'
headers:
Cache-Control:
- no-cache, no-store, must-revalidate
Expand All @@ -254,7 +249,7 @@ interactions:
Content-Type:
- application/json;charset=UTF-8
Date:
- Wed, 31 Aug 2022 19:15:11 GMT
- Mon, 22 Jan 2024 21:06:09 GMT
Expires:
- Thu, 01 Jan 1970 00:00:00 GMT
Pragma:
Expand All @@ -268,9 +263,8 @@ interactions:
X-Frame-Options:
- SAMEORIGIN
X-Powered-By:
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.2 #badassfish Java/Eclipse OpenJ9/1.8)'
- 'Servlet/4.0 JSP/2.3 (Payara Server 5.2022.5 #badassfish Java/Eclipse OpenJ9/1.8)'
status:
code: 200
message: OK
url: https://tilasto.jatekukko.fi/jatekukko/secure/get_invoice_headers_for_customer.do?customerId=00-0000000-00
version: 1
Loading
Loading