<feed xmlns='http://www.w3.org/2005/Atom'>
<title>audio-visualizer-python/tests/test_toolkit_frame.py, branch master</title>
<subtitle>(forked from djfun) a little GUI tool to render visualization videos of audio files
</subtitle>
<id>https://git.aedrielkylejavier.me/audio-visualizer-python/atom?h=master</id>
<link rel='self' href='https://git.aedrielkylejavier.me/audio-visualizer-python/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.aedrielkylejavier.me/audio-visualizer-python/'/>
<updated>2026-01-22T21:29:46+00:00</updated>
<entry>
<title>fix #89 with Image component v2.0 + 23 tests (#90)</title>
<updated>2026-01-22T21:29:46+00:00</updated>
<author>
<name>Brianna Rainey</name>
</author>
<published>2026-01-22T21:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.aedrielkylejavier.me/audio-visualizer-python/commit/?id=a12be862e22bdec6a243a3f0b5f4f28d69084a2a'/>
<id>urn:sha1:a12be862e22bdec6a243a3f0b5f4f28d69084a2a</id>
<content type='text'>
* qtbot is needed in any test that uses a QObject
previously these tests would fail if they ran before qtbot was initialized by another test. I'm now running tests in a random order

* add tests for drawBars, readAudioFile, BlankFrame

* replace numpy.seterr with numpy.errstate

* fix incorrect comment

* add MockVideoWorker and imageDataSum

* test further into visualization (less likely to be a false positive)

* test FloodFrame function

* add failing test for Image component
one step towards fixing #89

* test component name CLI parsing

* prevent log warning when 1 setting changed

* correct tests to use widgets when needed

* test undo and blockSignals

* remove stretch_scale (use scale only)

* image ignores scale if stretch checkbox checked
fixes #89

* test Title Text component, ffmpeg command

* Image v2: replace stretched setting with resizeMode
3 resize modes are scale, cover, and stretch. Scale only applies when resizeMode is set to scale. Cover uses ImageOps.fit() to stretch while maintaining aspect ratio. Also, spinBox_scale was moved to be underneath comboBox_resizeMode.

* change transformData into staticmethod
the purpose is to allow easier reuse in other components

* add respondToAudio option to Image component
this causes the image to scale up and down slightly based on the input audio file

* cache static portion of image when animating
increases rendering speed of a 1-minute video by 12 seconds (based on two manual tests anyway)</content>
</entry>
</feed>
