From 71a22c6a121d1294a05ef35020c525fa70cae2fd Mon Sep 17 00:00:00 2001 From: Brianna Rainey Date: Thu, 29 Jan 2026 14:50:29 -0500 Subject: v2.2.2 - fix flaky tests, fix UnboundLocalError in MainWindow.createNewProject (#94) * search more than one filename for compName * remove extra QVBoxLayout * insert default components using name instead of index * bump version 2.2.1 to 2.2.2 * tests do not use `.config` for settings Core.storeSettings() is no longer called as a side effect any time avp.core is imported. Thus the tests use a new `initCore` method and the normal user path now relies on entering via `cli.py`. This means certain toolkit functions (e.g., ones using `FFMPEG_BIN`) no longer work if imported from a different python script, unless they call Core.storeSettings() themselves to initialize the settings.ini file * fix UnboundLocalError in createNewProject--- tests/data/inputfiles/test.jpg | Bin 0 -> 48766 bytes tests/data/inputfiles/test.ogg | Bin 0 -> 30043 bytes tests/data/inputfiles/test.png | Bin 0 -> 220 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/data/inputfiles/test.jpg create mode 100644 tests/data/inputfiles/test.ogg create mode 100644 tests/data/inputfiles/test.png (limited to 'tests/data/inputfiles') diff --git a/tests/data/inputfiles/test.jpg b/tests/data/inputfiles/test.jpg new file mode 100644 index 0000000..86266d9 Binary files /dev/null and b/tests/data/inputfiles/test.jpg differ diff --git a/tests/data/inputfiles/test.ogg b/tests/data/inputfiles/test.ogg new file mode 100644 index 0000000..46af76c Binary files /dev/null and b/tests/data/inputfiles/test.ogg differ diff --git a/tests/data/inputfiles/test.png b/tests/data/inputfiles/test.png new file mode 100644 index 0000000..f1ffd4a Binary files /dev/null and b/tests/data/inputfiles/test.png differ -- cgit v1.2.3