mirror of
https://github.com/fastapi/sqlmodel.git
synced 2026-01-04 16:39:46 -06:00
🎨 Run pre-commit on all files and autoformat (#666)
This commit is contained in:
committed by
GitHub
parent
7f72c60ae4
commit
27a81b2112
@@ -261,7 +261,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -184,7 +184,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -123,7 +123,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -123,7 +123,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -155,7 +155,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -111,7 +111,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
response = client.post("/heroes/", json=hero_data)
|
||||
data = response.json()
|
||||
|
||||
@@ -261,7 +261,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -99,7 +99,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -474,7 +474,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
@@ -233,7 +233,6 @@ def test_tutorial(clear_sqlmodel):
|
||||
)
|
||||
|
||||
with TestClient(mod.app) as client:
|
||||
|
||||
hero1_data = {"name": "Deadpond", "secret_name": "Dive Wilson"}
|
||||
hero2_data = {
|
||||
"name": "Spider-Boy",
|
||||
|
||||
Reference in New Issue
Block a user