Skip to content

Commit

Permalink
🧪 cassette reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin authored Jan 6, 2024
1 parent c33fc15 commit 6f907cc
Show file tree
Hide file tree
Showing 41 changed files with 213,688 additions and 54,310 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
paths:
- camply/**
- tests/**
- pyproject.toml
- .github/workflows/tests.yaml
pull_request:
Expand Down
8 changes: 3 additions & 5 deletions tests/cassettes/test_pushover_campsite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ interactions:
uri: https://api.pushover.net/1/messages.json?html=1&message=%3Cb%3ECampsite+Id%3A%3C%2Fb%3E+100%0A%3Cb%3EBooking+Date%3A%3C%2Fb%3E+2023-09-01%0A%3Cb%3EBooking+End+Date%3A%3C%2Fb%3E+2023-09-02%0A%3Cb%3EBooking+Nights%3A%3C%2Fb%3E+1%0A%3Cb%3ECampsite+Site+Name%3A%3C%2Fb%3E+Test+Campsite+Name%0A%3Cb%3ECampsite+Loop+Name%3A%3C%2Fb%3E+A1%0A%3Cb%3ECampsite+Type%3A%3C%2Fb%3E+Test%0A%3Cb%3ECampsite+Occupancy%3A%3C%2Fb%3E+%281%2C+5%29%0A%3Cb%3ECampsite+Use+Type%3A%3C%2Fb%3E+Test%0A%3Cb%3EAvailability+Status%3A%3C%2Fb%3E+Available%0A%3Cb%3ERecreation+Area%3A%3C%2Fb%3E+Test+Recreation+Area%0A%3Cb%3ERecreation+Area+Id%3A%3C%2Fb%3E+20%0A%3Cb%3EFacility+Name%3A%3C%2Fb%3E+Test+Campground%0A%3Cb%3EFacility+Id%3A%3C%2Fb%3E+50%0A%3Cb%3EBooking+Link%3A%3C%2Fb%3E+%3Ca+href%3D%27https%3A%2F%2Fyoutu.be%2FeBGIQ7ZuuiU%27%3Ehttps%3A%2F%2Fyoutu.be%2FeBGIQ7ZuuiU%3C%2Fa%3E%0A%3Cb%3EPermitted+Equipment%3A%3C%2Fb%3E+%0A++-+&title=Test+Recreation+Area+%7C+Test+Campground+%7C+2023-09-01&token=REDACTED&user=REDACTED
response:
body:
string: !!binary |
H4sIAAAAAAAAAwTBQRKAIAgF0Lv8dSwkRMfbMIn7AldNd++9F5GWOzDKgcfv7ZEYaLy8sHdi6ReJ
ipG5NpJZ5FyzirHi+wEAAP//AwA1ia9lPQAAAA==
string: '{"status":1,"request":"72fe12e8-248c-464a-ae67-4d143fd54a26"}'
headers:
Access-Control-Allow-Headers:
- X-Requested-With, X-Prototype-Version, Origin, Accept, Content-Type, X-CSRF-Token,
Expand All @@ -39,8 +37,6 @@ interactions:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=utf-8
Date:
Expand Down Expand Up @@ -78,6 +74,8 @@ interactions:
- "0.058920"
X-XSS-Protection:
- 1; mode=block
content-length:
- "61"
status:
code: 200
message: OK
Expand Down
8 changes: 3 additions & 5 deletions tests/cassettes/test_pushover_message.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ interactions:
uri: https://api.pushover.net/1/messages.json?message=This+is+a+test+message%21&token=REDACTED&user=REDACTED
response:
body:
string: !!binary |
H4sIAAAAAAAAAwTByxGAIAwFwF7e2cwQPkHpBkIK0MDJsXd3X/jqazsaH3js3uYLDcrFYrkq9VyF
ss5OZwxCOhKHKZxKHPh+AAAA//8DAJNmHpA9AAAA
string: '{"status":1,"request":"c15e2597-a476-4cda-8206-cb310d61352b"}'
headers:
Access-Control-Allow-Headers:
- X-Requested-With, X-Prototype-Version, Origin, Accept, Content-Type, X-CSRF-Token,
Expand All @@ -39,8 +37,6 @@ interactions:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=utf-8
Date:
Expand Down Expand Up @@ -78,6 +74,8 @@ interactions:
- "0.057934"
X-XSS-Protection:
- 1; mode=block
content-length:
- "61"
status:
code: 200
message: OK
Expand Down
21 changes: 11 additions & 10 deletions tests/cli/cassettes/test_goingtocamp_equipment_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ interactions:
uri: https://longpoint.goingtocamp.com/api/equipment
response:
body:
string: !!binary |
H4sIAAAAAAAECqyQO2/CMBSF/0p0Z6e1nae8IejQpRNiKGIwyaWy5NipH0gt4r9XUAgLraI24z1X
Ot+nsz7AHp1X1jy3IFLO8iqvWFUX5JovZEAQwClnKeMp5UuaC0oFpQ+UZa9AQPmF8nKrsQWxk9oj
AXyPqu/QhLkM+Gbdx7k941VZE7CuRQeCEdC2kVp9YruSOqIHsT5AE3WIDl9kd8KiSeczIGC+z6dr
LxBo0TdO9UFZAwJun+OGgI/bIbgoqEv/ndcPdsrPmqD2CCK4iH+wZckSTYDj5kgO95Ru3GpYhZ/2
/CeXn7l+DLgcwNkE4JU0j3PZ9ejGsIuBnU/AXjqpNLok9kmwCat3o4bPB4dicgdejHPIBodycoeM
/+7wBQAA//8CZXpQtjSCu8Gc6m4wMSDKDSYIN1hQ0Q35ZalFCjAnxNbGAgAAAP//AwBI5KtG8gQA
AA==
string:
'[{"versionId":-2147471785,"versionDate":"2021-12-02T04:00:00.013Z","isDisabled":false,"equipmentCategoryId":-32768,"order":1,"localizedValues":[{"cultureName":"en-CA","name":"Equipment","description":"Equipment"}],"subEquipmentCategories":[{"subEquipmentCategoryId":-32768,"order":1,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"1
Tent"}]},{"subEquipmentCategoryId":-32767,"order":2,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"2
Tents"}]},{"subEquipmentCategoryId":-32766,"order":3,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"Van/Camper"}]},{"subEquipmentCategoryId":-32765,"order":4,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"Trailer
up to 18ft"}]},{"subEquipmentCategoryId":-32764,"order":5,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"Trailer
up to 25ft"}]},{"subEquipmentCategoryId":-32763,"order":6,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"Trailer
up to 32ft"}]},{"subEquipmentCategoryId":-32762,"order":7,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"Trailer
up to 40ft"}]},{"subEquipmentCategoryId":-32742,"order":8,"isActive":true,"localizedValues":[{"cultureName":"en-CA","name":"Trailer
over 40ft"}]}]}]'
headers:
Cache-Control:
- no-cache, no-store
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json; charset=utf-8
Date:
Expand Down Expand Up @@ -59,6 +58,8 @@ interactions:
- DENY
X-XSS-Protection:
- "1"
content-length:
- "1266"
x-azure-ref:
- 20230422T175830Z-whu0m374n55zbbqt6rxaenaw1s00000000v0000000009vud
status:
Expand Down
Loading

0 comments on commit 6f907cc

Please sign in to comment.