Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aiguofer committed Jan 18, 2022
1 parent 086bfa1 commit 24507bd
Show file tree
Hide file tree
Showing 15 changed files with 1,058 additions and 745 deletions.
17 changes: 10 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
default_language_version:
python: python3.9

repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
rev: 21.12b0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.3
hooks:
- id: seed-isort-config
# - repo: https://github.com/asottile/seed-isort-config
# rev: v2.2.0
# hooks:
# - id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
rev: v5.10.1
hooks:
- id: isort
additional_dependencies: [toml]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:31",
"recorded_at": "2022-01-18T21:58:13",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:32 GMT"
"Tue, 18 Jan 2022 21:58:13 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:32",
"recorded_at": "2022-01-18T21:58:13",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:32 GMT"
"Tue, 18 Jan 2022 21:58:13 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -169,7 +169,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:32",
"recorded_at": "2022-01-18T21:58:13",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -217,7 +217,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:33 GMT"
"Tue, 18 Jan 2022 21:58:13 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:33",
"recorded_at": "2022-01-18T21:58:14",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:33 GMT"
"Tue, 18 Jan 2022 21:58:14 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:33",
"recorded_at": "2022-01-18T21:58:14",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:33 GMT"
"Tue, 18 Jan 2022 21:58:14 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:23",
"recorded_at": "2022-01-18T21:58:02",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:23 GMT"
"Tue, 18 Jan 2022 21:58:02 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:23",
"recorded_at": "2022-01-18T21:58:03",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:24 GMT"
"Tue, 18 Jan 2022 21:58:03 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
8 changes: 4 additions & 4 deletions tests/cassettes/tests.client_test.TestClient.test_email.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:24",
"recorded_at": "2022-01-18T21:58:03",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:24 GMT"
"Tue, 18 Jan 2022 21:58:03 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:24",
"recorded_at": "2022-01-18T21:58:04",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:24 GMT"
"Tue, 18 Jan 2022 21:58:04 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:24",
"recorded_at": "2022-01-18T21:58:04",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:25 GMT"
"Tue, 18 Jan 2022 21:58:04 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:25",
"recorded_at": "2022-01-18T21:58:05",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:25 GMT"
"Tue, 18 Jan 2022 21:58:05 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:29",
"recorded_at": "2022-01-18T21:58:10",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:30 GMT"
"Tue, 18 Jan 2022 21:58:10 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:30",
"recorded_at": "2022-01-18T21:58:10",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:30 GMT"
"Tue, 18 Jan 2022 21:58:10 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"http_interactions": [
{
"recorded_at": "2021-12-29T00:13:28",
"recorded_at": "2022-01-18T21:58:08",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -49,7 +49,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:28 GMT"
"Tue, 18 Jan 2022 21:58:08 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -85,7 +85,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:28",
"recorded_at": "2022-01-18T21:58:09",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -133,7 +133,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:29 GMT"
"Tue, 18 Jan 2022 21:58:08 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -169,7 +169,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:28",
"recorded_at": "2022-01-18T21:58:09",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -217,7 +217,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:29 GMT"
"Tue, 18 Jan 2022 21:58:09 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down Expand Up @@ -253,7 +253,7 @@
}
},
{
"recorded_at": "2021-12-29T00:13:29",
"recorded_at": "2022-01-18T21:58:09",
"request": {
"body": {
"encoding": "utf-8",
Expand Down Expand Up @@ -301,7 +301,7 @@
"application/json; charset=UTF-8"
],
"Date": [
"Wed, 29 Dec 2021 00:13:29 GMT"
"Tue, 18 Jan 2022 21:58:09 GMT"
],
"Expires": [
"Mon, 01 Jan 1990 00:00:00 GMT"
Expand Down
Loading

0 comments on commit 24507bd

Please sign in to comment.