Commit graph

3 commits

Author SHA1 Message Date
Mohsin Shaikh
584d80242f
Allow using :meth:.MovingCamera.auto_zoom without animation (#2693)
* Allow using `MovingCamera.auto_zoom` without animation

* added test for auto_zoom width

* type hints for MovingCamera.auto_zoom

* black

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-22 23:07:52 +02:00
Devin Neal
97f07158e3 Update Camera test 2020-10-09 03:35:20 -07:00
Leo Torres
c89a441d8b
Refactor config (#340)
* add a context manager to temporarily change the global config. This will be useful for testing

* make Camera instances read some of their values from the global config dict at construction, and not when the Camera class is defined as it was previously done

* update test_logging to use the correct expected.txt file
2020-08-28 15:44:46 -04:00