Skip to content

Commit

Permalink
fix TestZoneDeleteView.test_get_read_only() (#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Mar 7, 2025
1 parent 01b977b commit d967e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions landingzones/tests/test_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ def test_get_archive(self):
def test_get_read_only(self):
"""Test GET with site read-only mode"""
self.set_site_read_only()
self.assert_response(self.url, self.good_users_write, 200)
self.assert_response(self.url, self.bad_users_write, 302)
self.assert_response(self.url, self.superuser, 200)
self.assert_response(self.url, self.non_superusers, 302)

@override_settings(LANDINGZONES_DISABLE_FOR_USERS=True)
def test_get_disable(self):
Expand Down

0 comments on commit d967e7b

Please sign in to comment.