v2.11.0 (#717)
Co-authored-by: Clément Drouin <clement.drouin@mistral.ai> Co-authored-by: Clément Sirieix <clement.sirieix@mistral.ai> Co-authored-by: Guillaume LE GOFF <guillaume.lgf@gmail.com> Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai> Co-authored-by: Michel Thomazo <51709227+michelTho@users.noreply.github.com> Co-authored-by: Pierre Rossinès <pierre.rossines@mistral.ai> Co-authored-by: Vincent G <10739306+VinceOPS@users.noreply.github.com> Co-authored-by: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
f71bfd3b8c
commit
adb1ca74ce
202 changed files with 5828 additions and 1968 deletions
|
|
@ -14,13 +14,8 @@ from vibe.core.telemetry.send import TelemetryClient
|
|||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _enable_feedback_bar(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
monkeypatch.setattr(
|
||||
"vibe.cli.textual_ui.widgets.feedback_bar_manager.FEEDBACK_PROBABILITY", 1
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"vibe.cli.textual_ui.widgets.feedback_bar_manager.MIN_USER_MESSAGES_FOR_FEEDBACK",
|
||||
1,
|
||||
)
|
||||
monkeypatch.setattr("vibe.core.feedback.FEEDBACK_PROBABILITY", 1)
|
||||
monkeypatch.setattr("vibe.core.feedback.MIN_USER_MESSAGES_FOR_FEEDBACK", 1)
|
||||
monkeypatch.setattr(TelemetryClient, "is_active", lambda self: True)
|
||||
|
||||
|
||||
|
|
@ -38,10 +33,7 @@ class FeedbackBarSnapshotApp(BaseSnapshotTestApp):
|
|||
|
||||
def test_snapshot_feedback_bar_visible(snap_compare: SnapCompare) -> None:
|
||||
async def run_before(pilot: Pilot) -> None:
|
||||
with patch(
|
||||
"vibe.cli.textual_ui.widgets.feedback_bar_manager.random.random",
|
||||
return_value=0,
|
||||
):
|
||||
with patch("vibe.core.feedback.random.random", return_value=0):
|
||||
await pilot.press(*"Hello")
|
||||
await pilot.press("enter")
|
||||
await pilot.pause(0.4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue