mirror of
https://github.com/Hopiu/llm.git
synced 2026-04-16 11:11:03 +00:00
Make it easier to see result5.output if test fails
This commit is contained in:
parent
b011ed8352
commit
df2fce25f0
1 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,8 @@ def test_fragments_set_show_remove(user_path):
|
|||
assert "Fragment 'badalias' not found" in result4.output
|
||||
|
||||
# Remove that alias
|
||||
assert runner.invoke(cli, ["fragments", "remove", "f1"]).exit_code == 0
|
||||
result5 = runner.invoke(cli, ["fragments", "remove", "f1"])
|
||||
assert result5.exit_code == 0
|
||||
# Should still be in list but no alias
|
||||
loaded2 = get_list()
|
||||
assert loaded2[0]["aliases"] == []
|
||||
|
|
|
|||
Loading…
Reference in a new issue