mirror of
https://github.com/fastapi/sqlmodel.git
synced 2025-10-29 09:08:01 +08:00
⬆️ Upgrade Ruff and Black (#968)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e2f646dea5
commit
b560e9deb8
19
tests/test_select_gen.py
Normal file
19
tests/test_select_gen.py
Normal file
@ -0,0 +1,19 @@
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from .conftest import needs_py39
|
||||
|
||||
root_path = Path(__file__).parent.parent
|
||||
|
||||
|
||||
@needs_py39
|
||||
def test_select_gen() -> None:
|
||||
result = subprocess.run(
|
||||
[sys.executable, "scripts/generate_select.py"],
|
||||
env={"CHECK_JINJA": "1"},
|
||||
check=True,
|
||||
cwd=root_path,
|
||||
capture_output=True,
|
||||
)
|
||||
print(result.stdout)
|
||||
Reference in New Issue
Block a user