Skip to content

Commit

Permalink
Fix unit test failure caused by merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
cslzchen committed Oct 3, 2024
1 parent 784217c commit 1ef6414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_tests/files/views/test_file_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

SessionStore = import_module(django_conf_settings.SESSION_ENGINE).SessionStore

from addons.base.views import get_authenticated_resource
from addons.base.views import _get_authenticated_resource
from framework.exceptions import HTTPError

# stolen from^W^Winspired by DRF
Expand Down Expand Up @@ -769,7 +769,7 @@ def test_get_authenticated_resource_retracted(self):
assert resource.is_retracted is True

with pytest.raises(HTTPError) as excinfo:
get_authenticated_resource(resource._id)
_get_authenticated_resource(resource._id)

assert excinfo.value.code == 410

Expand Down

0 comments on commit 1ef6414

Please sign in to comment.