mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
[test] Update test for asciinema.pty_
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import pty
|
import pty
|
||||||
|
|
||||||
import asciinema.pty
|
import asciinema.pty_
|
||||||
|
|
||||||
from .test_helper import Test
|
from .test_helper import Test
|
||||||
|
|
||||||
@@ -44,6 +44,6 @@ class TestRecord(Test):
|
|||||||
"; sys.stdout.write('bar')"
|
"; sys.stdout.write('bar')"
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
asciinema.pty.record(command, output)
|
asciinema.pty_.record(command, output)
|
||||||
|
|
||||||
assert output.data == [b"foo", b"bar"]
|
assert output.data == [b"foo", b"bar"]
|
||||||
|
|||||||
Reference in New Issue
Block a user