@@ -118,6 +118,7 @@ def test_not_show_edit_on_github(self):
118
118
@override_settings (
119
119
USE_SUBDOMAIN = True ,
120
120
PUBLIC_DOMAIN = 'readthedocs.io' ,
121
+ PUBLIC_DOMAIN_USES_HTTPS = True ,
121
122
)
122
123
class TestVersionCompareFooter (TestCase ):
123
124
fixtures = ['test_data' ]
@@ -130,7 +131,7 @@ def test_highest_version_from_stable(self):
130
131
base_version = self .pip .get_stable_version ()
131
132
valid_data = {
132
133
'project' : 'Version 0.8.1 of Pip (19)' ,
133
- 'url' : 'http ://pip.readthedocs.io/en/0.8.1/' ,
134
+ 'url' : 'https ://pip.readthedocs.io/en/0.8.1/' ,
134
135
'slug' : '0.8.1' ,
135
136
'version' : '0.8.1' ,
136
137
'is_highest' : True ,
@@ -142,7 +143,7 @@ def test_highest_version_from_lower(self):
142
143
base_version = self .pip .versions .get (slug = '0.8' )
143
144
valid_data = {
144
145
'project' : 'Version 0.8.1 of Pip (19)' ,
145
- 'url' : 'http ://pip.readthedocs.io/en/0.8.1/' ,
146
+ 'url' : 'https ://pip.readthedocs.io/en/0.8.1/' ,
146
147
'slug' : '0.8.1' ,
147
148
'version' : '0.8.1' ,
148
149
'is_highest' : False ,
@@ -155,7 +156,7 @@ def test_highest_version_from_latest(self):
155
156
base_version = self .pip .versions .get (slug = LATEST )
156
157
valid_data = {
157
158
'project' : 'Version 0.8.1 of Pip (19)' ,
158
- 'url' : 'http ://pip.readthedocs.io/en/0.8.1/' ,
159
+ 'url' : 'https ://pip.readthedocs.io/en/0.8.1/' ,
159
160
'slug' : '0.8.1' ,
160
161
'version' : '0.8.1' ,
161
162
'is_highest' : True ,
@@ -184,7 +185,7 @@ def test_highest_version_over_branches(self):
184
185
base_version = self .pip .versions .get (slug = '0.8.1' )
185
186
valid_data = {
186
187
'project' : 'Version 1.0.0 of Pip ({})' .format (version .pk ),
187
- 'url' : 'http ://pip.readthedocs.io/en/1.0.0/' ,
188
+ 'url' : 'https ://pip.readthedocs.io/en/1.0.0/' ,
188
189
'slug' : '1.0.0' ,
189
190
'version' : '1.0.0' ,
190
191
'is_highest' : False ,
@@ -198,7 +199,7 @@ def test_highest_version_without_tags(self):
198
199
base_version = self .pip .versions .get (slug = '0.8.1' )
199
200
valid_data = {
200
201
'project' : 'Version 0.8.1 of Pip (19)' ,
201
- 'url' : 'http ://pip.readthedocs.io/en/0.8.1/' ,
202
+ 'url' : 'https ://pip.readthedocs.io/en/0.8.1/' ,
202
203
'slug' : '0.8.1' ,
203
204
'version' : '0.8.1' ,
204
205
'is_highest' : True ,
@@ -209,7 +210,7 @@ def test_highest_version_without_tags(self):
209
210
base_version = self .pip .versions .get (slug = '0.8' )
210
211
valid_data = {
211
212
'project' : 'Version 0.8.1 of Pip (19)' ,
212
- 'url' : 'http ://pip.readthedocs.io/en/0.8.1/' ,
213
+ 'url' : 'https ://pip.readthedocs.io/en/0.8.1/' ,
213
214
'slug' : '0.8.1' ,
214
215
'version' : '0.8.1' ,
215
216
'is_highest' : False ,
@@ -227,7 +228,7 @@ def test_highest_version_without_tags(self):
227
228
)
228
229
valid_data = {
229
230
'project' : 'Version 2.0.0 of Pip ({})' .format (version .pk ),
230
- 'url' : 'http ://pip.readthedocs.io/en/2.0.0/' ,
231
+ 'url' : 'https ://pip.readthedocs.io/en/2.0.0/' ,
231
232
'slug' : '2.0.0' ,
232
233
'version' : '2.0.0' ,
233
234
'is_highest' : False ,
0 commit comments