RNA enum properties support

This commit is contained in:
2026-09-21 11:18:10 +02:00
parent f575a84c13
commit f2efa629ba
8 changed files with 134 additions and 8 deletions
+11
View File
@@ -19,6 +19,17 @@ from blender_downloader import (
class TestGetDownloadUrl(unittest.TestCase):
def test_builds_correct_blender_5_2_url(self) -> None:
with patch("blender_downloader.get_platform_suffix", return_value="linux-x64"):
with patch(
"blender_downloader.get_archive_extension", return_value=".tar.xz"
):
url = get_download_url("5.2.0")
self.assertEqual(
url,
"https://download.blender.org/release/Blender5.2/blender-5.2.0-linux-x64.tar.xz",
)
def test_builds_correct_url(self) -> None:
with patch("blender_downloader.get_platform_suffix", return_value="linux-x64"):
with patch(