Skip to content

Commit

Permalink
[Fixes #12226] Fix asset test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi authored and etj committed May 28, 2024
1 parent e0a1bf4 commit 4d4a6d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions geonode/upload/api/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ def live_upload_file(self, _file):
return response, response.content

@override_settings(CELERY_TASK_ALWAYS_EAGER=True)
@override_settings(FILE_UPLOAD_DIRECTORY_PERMISSIONS=0o777)
@override_settings(FILE_UPLOAD_PERMISSIONS=0o777)
def test_rest_uploads(self):
"""
Ensure we can access the Local Server Uploads list.
Expand Down Expand Up @@ -268,6 +270,8 @@ def test_rest_uploads(self):
self._cleanup_layer(layer_name)

@override_settings(CELERY_TASK_ALWAYS_EAGER=True)
@override_settings(FILE_UPLOAD_DIRECTORY_PERMISSIONS=0o777)
@override_settings(FILE_UPLOAD_PERMISSIONS=0o777)
def test_rest_uploads_non_interactive(self):
"""
Ensure we can access the Local Server Uploads list.
Expand Down

0 comments on commit 4d4a6d7

Please sign in to comment.