Skip to content

Commit a4974af

Browse files
committed
fix test
1 parent 38ef44d commit a4974af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/rtd_tests/tests/test_privacy_urls.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class PrivateProjectAdminAccessTest(PrivateProjectMixin, TestCase):
219219
# Places where we 302 on success -- These delete pages should probably be 405'ing
220220
'/dashboard/import/manual/demo/': {'status_code': 302},
221221
'/dashboard/pip/': {'status_code': 302},
222+
'/dashboard/pip/send_mail/': {'status_code':302},
222223
'/dashboard/pip/subprojects/delete/sub/': {'status_code': 302},
223224
'/dashboard/pip/translations/delete/sub/': {'status_code': 302},
224225

@@ -253,6 +254,7 @@ class PrivateProjectUserAccessTest(PrivateProjectMixin, TestCase):
253254

254255
# Unauth access redirect for non-owners
255256
'/dashboard/pip/': {'status_code': 302},
257+
'/dashboard/pip/send_mail/': {'status_code':302},
256258

257259
# 405's where we should be POST'ing
258260
'/dashboard/pip/users/delete/': {'status_code': 405},

0 commit comments

Comments
 (0)