@@ -108,12 +108,7 @@ def test_projects_detail_anonymous_user(self):
108108 },
109109 )
110110 data = {
111- "expand" : (
112- "active_versions,"
113- "active_versions.last_build,"
114- "active_versions.last_build.config,"
115- "permissions"
116- ),
111+ "expand" : ("active_versions," "permissions" ),
117112 }
118113 expected_response = self ._get_response_dict ("projects-detail" )
119114 expected_response ["permissions" ]["admin" ] = False
@@ -138,12 +133,7 @@ def test_projects_detail(self):
138133 },
139134 )
140135 data = {
141- "expand" : (
142- "active_versions,"
143- "active_versions.last_build,"
144- "active_versions.last_build.config,"
145- "permissions"
146- ),
136+ "expand" : ("active_versions," "permissions" ),
147137 }
148138 expected_response = self ._get_response_dict ("projects-detail" )
149139
@@ -170,12 +160,7 @@ def test_projects_detail_other_user(self):
170160 },
171161 )
172162 data = {
173- "expand" : (
174- "active_versions,"
175- "active_versions.last_build,"
176- "active_versions.last_build.config,"
177- "permissions"
178- ),
163+ "expand" : ("active_versions," "permissions" ),
179164 }
180165 expected_response = self ._get_response_dict ("projects-detail" )
181166 expected_response ["permissions" ]["admin" ] = False
@@ -203,12 +188,7 @@ def test_own_projects_detail_privacy_levels_enabled(self):
203188 },
204189 )
205190 query_params = {
206- "expand" : (
207- "active_versions,"
208- "active_versions.last_build,"
209- "active_versions.last_build.config,"
210- "permissions"
211- ),
191+ "expand" : ("active_versions," "permissions" ),
212192 }
213193
214194 self .client .credentials (HTTP_AUTHORIZATION = f"Token { self .token .key } " )
0 commit comments