Sertuğ FİDAN
Sertuğ FİDAN
Hello, i have been working on this. If echo is true by default it breaks the test below. Since new capture method prints all captured strings 'out' changes. ``` def...
Okay, below is what you recommend then ? ``` def test_capture_and_record(capsys): recorder = Console(record=True) recorder.print("ABC") with recorder.capture(echo=False) as capture: recorder.print("Hello") assert capture.get() == "Hello\n" recorded_text = recorder.export_text() out, err =...
I see, calling readouterr twice in same test is unreliable. Below is new version: ``` def test_capture_and_record_multiple(capsys): recorder = Console(record=True) with recorder.capture(echo=False) as capture: recorder.print("Hello") recorder.print("World") assert capture.get() == "Hello\nWorld\n"...
Hello, i cannot reproduce the bug can you give more info on system specs. Function definition for console.status is below : ``` def status( self, status: RenderableType, *, spinner: str...