Skip to content

Commit

Permalink
Make test_default_path_cb() insensitive to trailing output
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Oct 16, 2023
1 parent 0d0ad68 commit 4cacde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_ix_models/tests/util/test_click.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def func(ctx, rep_out_path):
result = mix_models_cli.assert_exit_0(cmd)

# The value was stored on, and retrieved from, `ctx`
assert f"{expected}\n" == result.output
assert result.output.startswith(f"{expected}\n")


def test_store_context(mix_models_cli):
Expand Down

0 comments on commit 4cacde5

Please sign in to comment.