Skip to content

Commit 62dfcc0

Browse files
committed
url updated
1 parent bad32fd commit 62dfcc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

readthedocs/projects/urls/public.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
name='builds_project_list',
7373
),
7474
url(
75-
(r'^(?P<project_slug>{project_slug})/builds/pr/$'.format(**pattern_opts)),
75+
(r'^(?P<project_slug>{project_slug})/builds/external/$'.format(**pattern_opts)),
7676
build_views.ExternalBuildList.as_view(),
7777
name='external_builds_project_list',
7878
),

readthedocs/rtd_tests/tests/test_project.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def test_has_good_build_excludes_external_versions(self):
169169
def test_get_external_builds_url(self):
170170
self.assertEqual(
171171
self.pip.get_external_builds_url(),
172-
f'/projects/{self.pip.slug}/builds/pr/'
172+
f'/projects/{self.pip.slug}/builds/external/'
173173
)
174174

175175
def test_project_has_external_builds(self):

0 commit comments

Comments
 (0)