diff --git a/tests/test_cli.py b/tests/test_cli.py index 8a6af40..ca00d61 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -66,11 +66,15 @@ class TestCLI: output_file = tmp_path / "output.feature" - result = runner.invoke(convert, [ - str(req_file), - "--output", str(output_file), - "--no-validate", - ]) + result = runner.invoke( + convert, + [ + str(req_file), + "--output", + str(output_file), + "--no-validate", + ], + ) assert result.exit_code == 0 assert output_file.exists() @@ -84,11 +88,15 @@ class TestCLI: req_file.write_text("As a user, I want to login") for framework in ["cucumber", "behave", "pytest-bdd"]: - result = runner.invoke(convert, [ - str(req_file), - "--framework", framework, - "--no-validate", - ]) + result = runner.invoke( + convert, + [ + str(req_file), + "--framework", + framework, + "--no-validate", + ], + ) assert result.exit_code == 0, f"Failed for framework: {framework}" @@ -111,11 +119,14 @@ class TestCLI: req_file = tmp_path / "requirements.txt" req_file.write_text("As a user, I want to do something with some data") - result = runner.invoke(convert, [ - str(req_file), - "--ambiguity-check", - "--no-validate", - ]) + result = runner.invoke( + convert, + [ + str(req_file), + "--ambiguity-check", + "--no-validate", + ], + ) assert result.exit_code == 0