Multi-platform: support multiple files per version #201

Merged
Oleg-Komarov merged 43 commits from multi-os into main 2024-07-09 16:27:46 +02:00
Showing only changes of commit 49b763d0b8 - Show all commits

View File

@ -209,6 +209,8 @@ class FiltersTest(APITestCase):
HTTP_ACCEPT='application/json', HTTP_ACCEPT='application/json',
).json() ).json()
self.assertEqual(len(json['data']), 2) self.assertEqual(len(json['data']), 2)
# all archive_url values should be unique
self.assertEqual(len(json['data']), len(set(item['archive_url'] for item in json['data'])))
def test_blender_version_filter_latest_not_max_version(self): def test_blender_version_filter_latest_not_max_version(self):
version = create_approved_version(metadata__blender_version_min='4.0.1') version = create_approved_version(metadata__blender_version_min='4.0.1')