We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4fc642 commit de5f74bCopy full SHA for de5f74b
shiny/_main_generate_test.py
@@ -146,11 +146,13 @@ def generate_test_file(
146
output_file=str(output_path),
147
)
148
149
- click.echo(f"✅ Test file generated successfully: {test_file_path}")
+ relative_test_file_path = test_file_path.relative_to(Path.cwd())
150
+
151
+ click.echo(f"✅ Test file generated successfully: {relative_test_file_path}")
152
click.echo()
153
click.echo(cli_action(cli_bold("Next steps:")))
154
click.echo(
- f"- Run {cli_code('pytest ' + str(test_file_path))} to run the generated test"
155
+ f"- Run {cli_code('pytest ' + str(relative_test_file_path))} to run the generated test"
156
157
click.echo("- Review and customize the test as needed")
158
0 commit comments