@@ -137,14 +137,14 @@ def test_google_plus_basically_works(self):
137
137
def test_google_plus_html_scope_works (self ):
138
138
with warnings .catch_warnings (record = True ) as w :
139
139
warnings .simplefilter ("always" )
140
- self .assertEqual (googleplus_html_scope ("bar" ), ' itemscope itemtype="http ://schema.org/bar" ' )
140
+ self .assertEqual (googleplus_html_scope ("bar" ), ' itemscope itemtype="https ://schema.org/bar" ' )
141
141
assert len (w ) == 1
142
142
assert issubclass (w [- 1 ].category , PendingDeprecationWarning )
143
143
144
144
def test_google_plus_scope_works (self ):
145
145
with warnings .catch_warnings (record = True ) as w :
146
146
warnings .simplefilter ("always" )
147
- self .assertEqual (googleplus_scope ("bar" ), ' itemscope itemtype="http ://schema.org/bar" ' )
147
+ self .assertEqual (googleplus_scope ("bar" ), ' itemscope itemtype="https ://schema.org/bar" ' )
148
148
assert len (w ) == 1
149
149
assert issubclass (w [- 1 ].category , PendingDeprecationWarning )
150
150
@@ -174,7 +174,7 @@ def test_meta_namespaces_gplus(self):
174
174
with warnings .catch_warnings (record = True ) as w :
175
175
warnings .simplefilter ("always" )
176
176
self .assertEqual (
177
- meta_namespaces_gplus (context_use_schemaorg ), ' itemscope itemtype="http ://schema.org/Article" '
177
+ meta_namespaces_gplus (context_use_schemaorg ), ' itemscope itemtype="https ://schema.org/Article" '
178
178
)
179
179
assert len (w ) == 1
180
180
assert issubclass (w [- 1 ].category , PendingDeprecationWarning )
@@ -185,10 +185,10 @@ def test_schemaorg_basically_works(self):
185
185
self .assertEqual (schemaorg_prop ("foo" , "bar" ), '<meta itemprop="foo" content="bar">' )
186
186
187
187
def test_schemaorg_html_scope_works (self ):
188
- self .assertEqual (schemaorg_html_scope ("bar" ), ' itemscope itemtype="http ://schema.org/bar" ' )
188
+ self .assertEqual (schemaorg_html_scope ("bar" ), ' itemscope itemtype="https ://schema.org/bar" ' )
189
189
190
190
def test_schemaorg_scope_works (self ):
191
- self .assertEqual (schemaorg_scope ("bar" ), ' itemscope itemtype="http ://schema.org/bar" ' )
191
+ self .assertEqual (schemaorg_scope ("bar" ), ' itemscope itemtype="https ://schema.org/bar" ' )
192
192
193
193
def test_schemaorg_escapes_xss (self ):
194
194
self .assertEqual (schemaorg_prop ('fo"o' , "b<ar" ), '<meta itemprop="fo"o" content="b<ar">' )
@@ -202,7 +202,7 @@ def test_meta_namespaces_gplus(self):
202
202
self .assertEqual (meta_namespaces_schemaorg (context_no_use_schemaorg ), "" )
203
203
204
204
self .assertEqual (
205
- meta_namespaces_schemaorg (context_use_schemaorg ), ' itemscope itemtype="http ://schema.org/Article" '
205
+ meta_namespaces_schemaorg (context_use_schemaorg ), ' itemscope itemtype="https ://schema.org/Article" '
206
206
)
207
207
208
208
0 commit comments