Skip to content

Commit

Permalink
adding cassettes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBasem1 committed Sep 21, 2023
1 parent 96b74a2 commit 307fa22
Show file tree
Hide file tree
Showing 94 changed files with 70,077 additions and 0 deletions.
567 changes: 567 additions & 0 deletions tests/cassettes/CellTest.test_a1_value.json

Large diffs are not rendered by default.

573 changes: 573 additions & 0 deletions tests/cassettes/CellTest.test_define_named_range.json

Large diffs are not rendered by default.

573 changes: 573 additions & 0 deletions tests/cassettes/CellTest.test_delete_named_range.json

Large diffs are not rendered by default.

895 changes: 895 additions & 0 deletions tests/cassettes/CellTest.test_equality.json

Large diffs are not rendered by default.

901 changes: 901 additions & 0 deletions tests/cassettes/CellTest.test_merge_cells.json

Large diffs are not rendered by default.

816 changes: 816 additions & 0 deletions tests/cassettes/CellTest.test_numeric_value.json

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions tests/cassettes/CellTest.test_properties.json

Large diffs are not rendered by default.

403 changes: 403 additions & 0 deletions tests/cassettes/ClientTest.test_access_non_existing_spreadsheet.json

Large diffs are not rendered by default.

245 changes: 245 additions & 0 deletions tests/cassettes/ClientTest.test_access_private_spreadsheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,251 @@
"string": ""
}
}
},
{
"request": {
"method": "POST",
"uri": "https://www.googleapis.com/drive/v3/files?supportsAllDrives=True",
"body": "{\"name\": \"Test ClientTest test_access_private_spreadsheet\", \"mimeType\": \"application/vnd.google-apps.spreadsheet\"}",
"headers": {
"User-Agent": [
"python-requests/2.31.0"
],
"Accept-Encoding": [
"gzip, deflate"
],
"Accept": [
"*/*"
],
"Connection": [
"keep-alive"
],
"x-goog-api-client": [
"cred-type/sa"
],
"x-identity-trust-boundary": [
"0"
],
"Content-Length": [
"114"
],
"Content-Type": [
"application/json"
],
"authorization": [
"<ACCESS_TOKEN>"
]
}
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"headers": {
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Server": [
"ESF"
],
"Transfer-Encoding": [
"chunked"
],
"Vary": [
"Origin, X-Origin"
],
"Pragma": [
"no-cache"
],
"X-XSS-Protection": [
"0"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
],
"Alt-Svc": [
"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
],
"Date": [
"Thu, 21 Sep 2023 22:39:56 GMT"
],
"Cache-Control": [
"no-cache, no-store, max-age=0, must-revalidate"
],
"Content-Type": [
"application/json; charset=UTF-8"
],
"content-length": [
"201"
]
},
"body": {
"string": "{\n \"kind\": \"drive#file\",\n \"id\": \"1_RN1-UNlO-oL3fCbzG9kRnNP-LrHehnjpabyiGwsuok\",\n \"name\": \"Test ClientTest test_access_private_spreadsheet\",\n \"mimeType\": \"application/vnd.google-apps.spreadsheet\"\n}\n"
}
}
},
{
"request": {
"method": "GET",
"uri": "https://sheets.googleapis.com/v4/spreadsheets/1_RN1-UNlO-oL3fCbzG9kRnNP-LrHehnjpabyiGwsuok?includeGridData=false",
"body": null,
"headers": {
"User-Agent": [
"python-requests/2.31.0"
],
"Accept-Encoding": [
"gzip, deflate"
],
"Accept": [
"*/*"
],
"Connection": [
"keep-alive"
],
"x-goog-api-client": [
"cred-type/sa"
],
"x-identity-trust-boundary": [
"0"
],
"authorization": [
"<ACCESS_TOKEN>"
]
}
},
"response": {
"status": {
"code": 200,
"message": "OK"
},
"headers": {
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Server": [
"ESF"
],
"Transfer-Encoding": [
"chunked"
],
"X-XSS-Protection": [
"0"
],
"x-l2-request-path": [
"l2-managed-6"
],
"Date": [
"Thu, 21 Sep 2023 22:39:57 GMT"
],
"Alt-Svc": [
"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
],
"Vary": [
"Origin",
"X-Origin",
"Referer"
],
"Cache-Control": [
"private"
],
"Content-Type": [
"application/json; charset=UTF-8"
],
"content-length": [
"3345"
]
},
"body": {
"string": "{\n \"spreadsheetId\": \"1_RN1-UNlO-oL3fCbzG9kRnNP-LrHehnjpabyiGwsuok\",\n \"properties\": {\n \"title\": \"Test ClientTest test_access_private_spreadsheet\",\n \"locale\": \"en_US\",\n \"autoRecalc\": \"ON_CHANGE\",\n \"timeZone\": \"Etc/GMT\",\n \"defaultFormat\": {\n \"backgroundColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n },\n \"padding\": {\n \"top\": 2,\n \"right\": 3,\n \"bottom\": 2,\n \"left\": 3\n },\n \"verticalAlignment\": \"BOTTOM\",\n \"wrapStrategy\": \"OVERFLOW_CELL\",\n \"textFormat\": {\n \"foregroundColor\": {},\n \"fontFamily\": \"arial,sans,sans-serif\",\n \"fontSize\": 10,\n \"bold\": false,\n \"italic\": false,\n \"strikethrough\": false,\n \"underline\": false,\n \"foregroundColorStyle\": {\n \"rgbColor\": {}\n }\n },\n \"backgroundColorStyle\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n \"spreadsheetTheme\": {\n \"primaryFontFamily\": \"Arial\",\n \"themeColors\": [\n {\n \"colorType\": \"TEXT\",\n \"color\": {\n \"rgbColor\": {}\n }\n },\n {\n \"colorType\": \"BACKGROUND\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 1,\n \"blue\": 1\n }\n }\n },\n {\n \"colorType\": \"ACCENT1\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.25882354,\n \"green\": 0.52156866,\n \"blue\": 0.95686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT2\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.91764706,\n \"green\": 0.2627451,\n \"blue\": 0.20784314\n }\n }\n },\n {\n \"colorType\": \"ACCENT3\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.9843137,\n \"green\": 0.7372549,\n \"blue\": 0.015686275\n }\n }\n },\n {\n \"colorType\": \"ACCENT4\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.20392157,\n \"green\": 0.65882355,\n \"blue\": 0.3254902\n }\n }\n },\n {\n \"colorType\": \"ACCENT5\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 1,\n \"green\": 0.42745098,\n \"blue\": 0.003921569\n }\n }\n },\n {\n \"colorType\": \"ACCENT6\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.27450982,\n \"green\": 0.7411765,\n \"blue\": 0.7764706\n }\n }\n },\n {\n \"colorType\": \"LINK\",\n \"color\": {\n \"rgbColor\": {\n \"red\": 0.06666667,\n \"green\": 0.33333334,\n \"blue\": 0.8\n }\n }\n }\n ]\n }\n },\n \"sheets\": [\n {\n \"properties\": {\n \"sheetId\": 0,\n \"title\": \"Sheet1\",\n \"index\": 0,\n \"sheetType\": \"GRID\",\n \"gridProperties\": {\n \"rowCount\": 1000,\n \"columnCount\": 26\n }\n }\n }\n ],\n \"spreadsheetUrl\": \"https://docs.google.com/spreadsheets/d/1_RN1-UNlO-oL3fCbzG9kRnNP-LrHehnjpabyiGwsuok/edit\"\n}\n"
}
}
},
{
"request": {
"method": "DELETE",
"uri": "https://www.googleapis.com/drive/v3/files/1_RN1-UNlO-oL3fCbzG9kRnNP-LrHehnjpabyiGwsuok?supportsAllDrives=True",
"body": null,
"headers": {
"User-Agent": [
"python-requests/2.31.0"
],
"Accept-Encoding": [
"gzip, deflate"
],
"Accept": [
"*/*"
],
"Connection": [
"keep-alive"
],
"x-goog-api-client": [
"cred-type/sa"
],
"x-identity-trust-boundary": [
"0"
],
"Content-Length": [
"0"
],
"authorization": [
"<ACCESS_TOKEN>"
]
}
},
"response": {
"status": {
"code": 204,
"message": "No Content"
},
"headers": {
"X-Content-Type-Options": [
"nosniff"
],
"X-Frame-Options": [
"SAMEORIGIN"
],
"Server": [
"ESF"
],
"Vary": [
"Origin, X-Origin"
],
"Pragma": [
"no-cache"
],
"X-XSS-Protection": [
"0"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
],
"Content-Length": [
"0"
],
"Alt-Svc": [
"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
],
"Date": [
"Thu, 21 Sep 2023 22:39:58 GMT"
],
"Cache-Control": [
"no-cache, no-store, max-age=0, must-revalidate"
],
"Content-Type": [
"text/html"
]
},
"body": {
"string": ""
}
}
}
]
}
Loading

0 comments on commit 307fa22

Please sign in to comment.