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 66387f9af0 - Show all commits

View File

@ -62,7 +62,6 @@ class PublicViewsTest(_BaseTestCase):
author = extension.authors.first()
url = extension.get_absolute_url()
response = self.client.get(url)
for account, role in (
(None, 'anonymous'),
@ -75,6 +74,7 @@ class PublicViewsTest(_BaseTestCase):
self.client.logout()
if account:
self.client.force_login(account)
response = self.client.get(url)
self.assertEqual(response.status_code, 404)
def test_anyone_can_view_extension_page_when_listed(self):
@ -86,7 +86,6 @@ class PublicViewsTest(_BaseTestCase):
author = extension.authors.first()
url = extension.get_absolute_url()
response = self.client.get(url)
for account, role in (
(None, 'anonymous'),
@ -99,6 +98,7 @@ class PublicViewsTest(_BaseTestCase):
self.client.logout()
if account:
self.client.force_login(account)
response = self.client.get(url)
self.assertEqual(response.status_code, 200)