File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
readthedocs/proxito/tests Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -287,21 +287,6 @@ def test_versioned_no_slash(self):
287
287
response ['location' ], '/en/latest/' ,
288
288
)
289
289
290
- @mock .patch ('readthedocs.proxito.views.serve.get_storage_class' )
291
- def test_subproject_no_slash (self , storage_mock ):
292
- self .subproject .versions .update (active = True , built = True )
293
- storage_mock ()().exists .return_value = False
294
- response = self .client .get (
295
- reverse ('proxito_404_handler' , kwargs = {'proxito_path' : '/projects/subproject' }),
296
- HTTP_HOST = 'project.readthedocs.io' ,
297
- )
298
- self .assertEqual (
299
- response .status_code , 302
300
- )
301
- self .assertEqual (
302
- response ['location' ], '/projects/subproject/' ,
303
- )
304
-
305
290
@mock .patch ('readthedocs.proxito.views.serve.get_storage_class' )
306
291
def test_directory_indexes_readme_serving (self , storage_mock ):
307
292
self .project .versions .update (active = True , built = True )
You can’t perform that action at this time.
0 commit comments