PR #790 #994
GitHub Actions / PyTest Results (Full)
failed
Sep 16, 2025 in 0s
1 fail, 16 skipped, 347 pass in 24m 7s
Annotations
Check warning on line 0 in tests.unit_tests.test_progress
github-actions / PyTest Results (Full)
test_default_progress_style (tests.unit_tests.test_progress) failed
build/test-results/test-results.xml [took 0s]
Raw output
assert <ProgressStyle.PLAIN: 4> == <ProgressStyle.RICH: 2>
+ where <ProgressStyle.PLAIN: 4> = <airbyte.progress.ProgressTracker object at 0x7fdcd0b76d10>.style
+ and <ProgressStyle.RICH: 2> = ProgressStyle.RICH
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdca6029690>
def test_default_progress_style(monkeypatch):
"""Test the style when running in a notebook environment."""
monkeypatch.delenv("CI", raising=False)
monkeypatch.delenv("NO_LIVE_PROGRESS", raising=False)
monkeypatch.setattr("sys.stdout.isatty", lambda: True)
progress = ProgressTracker(source=None, cache=None, destination=None)
> assert progress.style == ProgressStyle.RICH
E assert <ProgressStyle.PLAIN: 4> == <ProgressStyle.RICH: 2>
E + where <ProgressStyle.PLAIN: 4> = <airbyte.progress.ProgressTracker object at 0x7fdcd0b76d10>.style
E + and <ProgressStyle.RICH: 2> = ProgressStyle.RICH
tests/unit_tests/test_progress.py:143: AssertionError
Loading