Enable shell extra for installing ptpython and rich (#782)

Co-authored-by: Teemu R. <tpr@iki.fi>
This commit is contained in:
Steven B
2024-02-20 18:40:28 +00:00
committed by GitHub
parent 5ba3676422
commit 4beff228c9
5 changed files with 130 additions and 10 deletions

View File

@@ -647,7 +647,7 @@ async def test_errors(mocker):
assert res.exit_code == 1
assert (
"Raised error: Managed to invoke callback without a context object of type 'Device' existing."
in res.output
in res.output.replace("\n", "") # Remove newlines from rich formatting
)
assert isinstance(res.exception, SystemExit)