From 34e99ba3f4b4bc374cd49ea89887d5faa3b86e9f Mon Sep 17 00:00:00 2001 From: mcflugen Date: Tue, 12 Mar 2024 11:22:46 -0600 Subject: [PATCH] update cli tests to use babelize sample-config --- tests/test_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 128bb2fb..83ff3d4a 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -36,7 +36,7 @@ def test_defaults(): def test_generate_help(): runner = CliRunner() - result = runner.invoke(babelize, ["generate", "--help"]) + result = runner.invoke(babelize, ["sample-config", "--help"]) assert result.exit_code == 0 assert "Usage:" in result.output @@ -57,13 +57,13 @@ def test_update_help(): def test_generate_noargs(): runner = CliRunner() - result = runner.invoke(babelize, ["generate"]) + result = runner.invoke(babelize, ["sample-config"]) assert result.exit_code == 0 def test_generate_gives_valid_toml(): runner = CliRunner() - result = runner.invoke(babelize, ["generate"]) + result = runner.invoke(babelize, ["sample-config"]) assert result.exit_code == 0 config = tomllib.loads(result.output)