Skip to content

Commit 24507bd

Browse files
committed
Fix tests
1 parent 086bfa1 commit 24507bd

15 files changed

+1058
-745
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1+
default_language_version:
2+
python: python3.9
3+
14
repos:
25
- repo: https://github.com/ambv/black
3-
rev: 19.10b0
6+
rev: 21.12b0
47
hooks:
58
- id: black
69
- repo: https://gitlab.com/pycqa/flake8
7-
rev: 3.7.9
10+
rev: 3.9.2
811
hooks:
912
- id: flake8
10-
- repo: https://github.com/asottile/seed-isort-config
11-
rev: v1.9.3
12-
hooks:
13-
- id: seed-isort-config
13+
# - repo: https://github.com/asottile/seed-isort-config
14+
# rev: v2.2.0
15+
# hooks:
16+
# - id: seed-isort-config
1417
- repo: https://github.com/pre-commit/mirrors-isort
15-
rev: v4.3.21
18+
rev: v5.10.1
1619
hooks:
1720
- id: isort
1821
additional_dependencies: [toml]

tests/cassettes/tests.client_test.TestClient.test_create_folder.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:31",
4+
"recorded_at": "2022-01-18T21:58:13",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:32 GMT"
52+
"Tue, 18 Jan 2022 21:58:13 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:32",
88+
"recorded_at": "2022-01-18T21:58:13",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:32 GMT"
136+
"Tue, 18 Jan 2022 21:58:13 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -169,7 +169,7 @@
169169
}
170170
},
171171
{
172-
"recorded_at": "2021-12-29T00:13:32",
172+
"recorded_at": "2022-01-18T21:58:13",
173173
"request": {
174174
"body": {
175175
"encoding": "utf-8",
@@ -217,7 +217,7 @@
217217
"application/json; charset=UTF-8"
218218
],
219219
"Date": [
220-
"Wed, 29 Dec 2021 00:13:33 GMT"
220+
"Tue, 18 Jan 2022 21:58:13 GMT"
221221
],
222222
"Expires": [
223223
"Mon, 01 Jan 1990 00:00:00 GMT"

tests/cassettes/tests.client_test.TestClient.test_create_folder_no_parents.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:33",
4+
"recorded_at": "2022-01-18T21:58:14",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:33 GMT"
52+
"Tue, 18 Jan 2022 21:58:14 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:33",
88+
"recorded_at": "2022-01-18T21:58:14",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:33 GMT"
136+
"Tue, 18 Jan 2022 21:58:14 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"

tests/cassettes/tests.client_test.TestClient.test_directories.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:23",
4+
"recorded_at": "2022-01-18T21:58:02",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:23 GMT"
52+
"Tue, 18 Jan 2022 21:58:02 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:23",
88+
"recorded_at": "2022-01-18T21:58:03",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:24 GMT"
136+
"Tue, 18 Jan 2022 21:58:03 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"

tests/cassettes/tests.client_test.TestClient.test_email.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:24",
4+
"recorded_at": "2022-01-18T21:58:03",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:24 GMT"
52+
"Tue, 18 Jan 2022 21:58:03 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:24",
88+
"recorded_at": "2022-01-18T21:58:04",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:24 GMT"
136+
"Tue, 18 Jan 2022 21:58:04 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"

tests/cassettes/tests.client_test.TestClient.test_email_no_perm.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:24",
4+
"recorded_at": "2022-01-18T21:58:04",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:25 GMT"
52+
"Tue, 18 Jan 2022 21:58:04 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:25",
88+
"recorded_at": "2022-01-18T21:58:05",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:25 GMT"
136+
"Tue, 18 Jan 2022 21:58:05 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"

tests/cassettes/tests.client_test.TestClient.test_find_folders.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:29",
4+
"recorded_at": "2022-01-18T21:58:10",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:30 GMT"
52+
"Tue, 18 Jan 2022 21:58:10 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:30",
88+
"recorded_at": "2022-01-18T21:58:10",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:30 GMT"
136+
"Tue, 18 Jan 2022 21:58:10 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"

tests/cassettes/tests.client_test.TestClient.test_find_spreadsheet_files_in_folder.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2021-12-29T00:13:28",
4+
"recorded_at": "2022-01-18T21:58:08",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -49,7 +49,7 @@
4949
"application/json; charset=UTF-8"
5050
],
5151
"Date": [
52-
"Wed, 29 Dec 2021 00:13:28 GMT"
52+
"Tue, 18 Jan 2022 21:58:08 GMT"
5353
],
5454
"Expires": [
5555
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -85,7 +85,7 @@
8585
}
8686
},
8787
{
88-
"recorded_at": "2021-12-29T00:13:28",
88+
"recorded_at": "2022-01-18T21:58:09",
8989
"request": {
9090
"body": {
9191
"encoding": "utf-8",
@@ -133,7 +133,7 @@
133133
"application/json; charset=UTF-8"
134134
],
135135
"Date": [
136-
"Wed, 29 Dec 2021 00:13:29 GMT"
136+
"Tue, 18 Jan 2022 21:58:08 GMT"
137137
],
138138
"Expires": [
139139
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -169,7 +169,7 @@
169169
}
170170
},
171171
{
172-
"recorded_at": "2021-12-29T00:13:28",
172+
"recorded_at": "2022-01-18T21:58:09",
173173
"request": {
174174
"body": {
175175
"encoding": "utf-8",
@@ -217,7 +217,7 @@
217217
"application/json; charset=UTF-8"
218218
],
219219
"Date": [
220-
"Wed, 29 Dec 2021 00:13:29 GMT"
220+
"Tue, 18 Jan 2022 21:58:09 GMT"
221221
],
222222
"Expires": [
223223
"Mon, 01 Jan 1990 00:00:00 GMT"
@@ -253,7 +253,7 @@
253253
}
254254
},
255255
{
256-
"recorded_at": "2021-12-29T00:13:29",
256+
"recorded_at": "2022-01-18T21:58:09",
257257
"request": {
258258
"body": {
259259
"encoding": "utf-8",
@@ -301,7 +301,7 @@
301301
"application/json; charset=UTF-8"
302302
],
303303
"Date": [
304-
"Wed, 29 Dec 2021 00:13:29 GMT"
304+
"Tue, 18 Jan 2022 21:58:09 GMT"
305305
],
306306
"Expires": [
307307
"Mon, 01 Jan 1990 00:00:00 GMT"

0 commit comments

Comments
 (0)