File tree Expand file tree Collapse file tree
src/fastapi_cloud_cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ def reset() -> Any:
1818 config_dir = Path .cwd () / ".fastapicloud"
1919
2020 if not config_dir .exists ():
21- toolkit .print ("No FastAPI Cloud configuration found in the current directory." )
21+ toolkit .print (
22+ "No FastAPI Cloud configuration found in the current directory."
23+ )
2224 logger .debug (f"Configuration directory not found: { config_dir } " )
2325 raise typer .Exit (1 )
2426
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ def test_reset_removes_fastapicloud_dir(tmp_path: Path) -> None:
2525 result = runner .invoke (app , ["reset" ])
2626
2727 assert result .exit_code == 0
28- assert "FastAPI Cloud configuration has been reset successfully! 🚀" in result .output
28+ assert (
29+ "FastAPI Cloud configuration has been reset successfully! 🚀" in result .output
30+ )
2931
3032 assert not config_dir .exists ()
3133 assert not cloud_json .exists ()
@@ -41,5 +43,7 @@ def test_reset_when_no_configuration_exists(tmp_path: Path) -> None:
4143 result = runner .invoke (app , ["reset" ])
4244
4345 assert result .exit_code == 1
44- assert "No FastAPI Cloud configuration found in the current directory." in result .output
45-
46+ assert (
47+ "No FastAPI Cloud configuration found in the current directory."
48+ in result .output
49+ )
You can’t perform that action at this time.
0 commit comments