Skip to content

Commit f641f7f

Browse files
author
evieira
committed
format cli test
Signed-off-by: evieira <t01etvi@tryg.dk>
1 parent c469dc0 commit f641f7f

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/cli/test_cli.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,14 +2305,10 @@ def test_lint_still_loads_state(runner: CliRunner, tmp_path: Path, mocker):
23052305
assert mock.called, "state-sync was never accessed during `lint`"
23062306

23072307

2308-
def test_lint_local_runs_without_state(
2309-
runner: CliRunner, tmp_path: Path, mocker, monkeypatch
2310-
):
2308+
def test_lint_local_runs_without_state(runner: CliRunner, tmp_path: Path, mocker, monkeypatch):
23112309
mock = _setup_local_only_project(tmp_path, mocker)
23122310
init_spy = mocker.spy(Context, "__init__")
2313-
monkeypatch.setattr(
2314-
"sys.argv", ["sqlmesh", "--paths", str(tmp_path), "lint", "--local"]
2315-
)
2311+
monkeypatch.setattr("sys.argv", ["sqlmesh", "--paths", str(tmp_path), "lint", "--local"])
23162312

23172313
result = runner.invoke(cli, ["--paths", str(tmp_path), "lint", "--local"])
23182314

0 commit comments

Comments
 (0)