Skip to content

Commit 41296c7

Browse files
committed
test(fix[PaneSnapshot]): Specify capture_content flag in tests
why: - The PaneSnapshot.from_pane() method was updated to better handle content capture - Tests need to explicitly set capture_content=True to ensure content is captured what: - Updated TestPaneSnapshot.test_pane_snapshot_creation to explicitly set capture_content=True - This ensures test behavior remains consistent with the updated PaneSnapshot implementation refs: Complements the snapshot class refactoring
1 parent 17252d6 commit 41296c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_snapshot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_pane_snapshot_creation(self, session: Session) -> None:
4141

4242
# Create a snapshot - use patch to prevent actual sealing
4343
with patch.object(PaneSnapshot, "seal", return_value=None):
44-
snapshot = PaneSnapshot.from_pane(pane)
44+
snapshot = PaneSnapshot.from_pane(pane, capture_content=True)
4545

4646
# Check that the snapshot is a sealable instance
4747
assert is_sealable(snapshot)

0 commit comments

Comments
 (0)