Skip to content

Commit

Permalink
Fix: Test failure caused by a new version of rich (#3053)
Browse files Browse the repository at this point in the history
  • Loading branch information
izeigerman committed Aug 26, 2024
1 parent 817430c commit c84a05f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/integrations/jupyter/test_magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def test_plan(
# the models and how long it took
assert len(output.stdout.strip().split("\n")) == 22
assert not output.stderr
assert len(output.outputs) == 5
assert len(output.outputs) == 4
text_output = convert_all_html_output_to_text(output)
# TODO: Is this what we expect?
# This has minor differences between CI/CD and local.
Expand All @@ -303,13 +303,11 @@ def test_plan(
)
# TODO: Is this what we expect?
assert text_output[2] == ""
assert text_output[3] == ""
assert text_output[4] == "The target environment has been updated successfully"
assert text_output[3] == "The target environment has been updated successfully"
assert convert_all_html_output_to_tags(output) == [
["pre", "span"],
["pre"] + ["span"] * 4,
["pre"],
["pre"],
["pre", "span"],
]

Expand Down

0 comments on commit c84a05f

Please sign in to comment.