diff --git a/tests/cli/test_record.py b/tests/cli/test_record.py index 89cd67b..5964474 100644 --- a/tests/cli/test_record.py +++ b/tests/cli/test_record.py @@ -37,6 +37,23 @@ def test_record(junk_dir: Path) -> None: assert result.exit_code == 0 assert "ERROR" not in result.output + # Test with show-hashes + result = runner.invoke( + main, + [ + "record", + "-s", + str(junk_dir), + "-m", + "This is just a test recording", + "--yes", # don't ask for confirmation + "--show-hashes", + ], + ) + print(result.output) + assert result.exit_code == 0 + assert "ERROR" not in result.output + # test again with confirmation result = runner.invoke( main,