RNA enum properties support
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user