7 Commits

Author SHA1 Message Date
Davis Schirmer
7a90a30ba5 [typing] Annotate tests 2022-02-21 18:39:26 -05:00
Marcin Kulik
ed017ee41f Less defensive programming, rename test mock class 2022-02-18 21:42:20 +01:00
Marcin Kulik
fd09df89f6 Option to override cols/rows of the recorded process
This adds `--cols <n>` / `--rows <n>` options to `rec` command. This disables
autodection of terminal size, and reports fake fixed number of columns/rows to
the recorded process.
2022-02-17 21:54:30 +01:00
Davis Schirmer
3eae623092 [test] Update test for asciinema.pty_ 2021-11-05 01:14:05 -04:00
Davis Schirmer
bd3e6f5f67 [test] Convert unittests runner nose => pytest
Per the official docs, nose is in maintenance mode. Attempts to import
`Callable` from `collections` fails in Python 3.10. Convert
nose-specific assert statements to bare asserts supported by pytest.

* https://nose.readthedocs.io/en/latest/#note-to-users
* https://github.com/pytest-dev/nose2pytest
2021-11-05 01:13:56 -04:00
Marcin Kulik
8aecc1d558 Let pty recorder report elapsed time 2019-03-23 12:26:20 +01:00
Marcin Kulik
20b8565708 Refactor recording 2018-11-25 18:30:44 +01:00