File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -672,27 +672,6 @@ def test_wait_for_all_content_type_error(wait_pane: Pane) -> None:
672672 )
673673
674674
675- def test_wait_for_pane_content_exact_match (wait_pane : Pane ) -> None :
676- """Test waiting for content with exact match."""
677- wait_pane .send_keys ("clear" , enter = True )
678-
679- # Add a line with a predictable content
680- test_content = "EXACT_MATCH_TEST_STRING"
681- wait_pane .send_keys (f"echo '{ test_content } '" , enter = True )
682-
683- # Instead of trying exact match on a line (which is prone to shell prompt
684- # variations) Let's test if the content contains our string
685- result = wait_for_pane_content (
686- wait_pane ,
687- test_content ,
688- ContentMatchType .CONTAINS , # Use CONTAINS instead of EXACT
689- timeout = 5 ,
690- )
691-
692- assert result .success
693- assert result .matched_content == test_content
694-
695-
696675def test_contains_match_function () -> None :
697676 """Test the _contains_match internal function."""
698677 content = ["line 1" , "test line 2" , "line 3" ]
You can’t perform that action at this time.
0 commit comments