@@ -83,7 +83,7 @@ def _assert_disabled(self, spider, settings=None):
8383
8484 def _assert_enabled (self , spider ,
8585 settings = None ,
86- proxyurl = 'http://proxy.zyte.com:8010 ' ,
86+ proxyurl = 'http://proxy.zyte.com:8011 ' ,
8787 proxyauth = basic_auth_header ('apikey' , '' ),
8888 maxbans = 400 ,
8989 download_timeout = 190 ):
@@ -177,23 +177,23 @@ def test_apikey(self):
177177
178178 def test_proxyurl (self ):
179179 self .spider .zyte_smartproxy_enabled = True
180- self .settings ['ZYTE_SMARTPROXY_URL' ] = 'http://localhost:8010 '
181- self ._assert_enabled (self .spider , self .settings , proxyurl = 'http://localhost:8010 ' )
180+ self .settings ['ZYTE_SMARTPROXY_URL' ] = 'http://localhost:8011 '
181+ self ._assert_enabled (self .spider , self .settings , proxyurl = 'http://localhost:8011 ' )
182182
183183 def test_proxyurl_no_protocol (self ):
184184 self .spider .zyte_smartproxy_enabled = True
185- self .settings ['ZYTE_SMARTPROXY_URL' ] = 'localhost:8010 '
186- self ._assert_enabled (self .spider , self .settings , proxyurl = 'http://localhost:8010 ' )
185+ self .settings ['ZYTE_SMARTPROXY_URL' ] = 'localhost:8011 '
186+ self ._assert_enabled (self .spider , self .settings , proxyurl = 'http://localhost:8011 ' )
187187
188188 def test_proxyurl_https (self ):
189189 self .spider .zyte_smartproxy_enabled = True
190- self .settings ['ZYTE_SMARTPROXY_URL' ] = 'https://localhost:8010 '
191- self ._assert_enabled (self .spider , self .settings , proxyurl = 'https://localhost:8010 ' )
190+ self .settings ['ZYTE_SMARTPROXY_URL' ] = 'https://localhost:8011 '
191+ self ._assert_enabled (self .spider , self .settings , proxyurl = 'https://localhost:8011 ' )
192192
193193 def test_proxyurl_including_noconnect (self ):
194194 self .spider .zyte_smartproxy_enabled = True
195- self .settings ['ZYTE_SMARTPROXY_URL' ] = 'http://localhost:8010 ?noconnect'
196- self ._assert_enabled (self .spider , self .settings , proxyurl = 'http://localhost:8010 ?noconnect' )
195+ self .settings ['ZYTE_SMARTPROXY_URL' ] = 'http://localhost:8011 ?noconnect'
196+ self ._assert_enabled (self .spider , self .settings , proxyurl = 'http://localhost:8011 ?noconnect' )
197197
198198 def test_maxbans (self ):
199199 self .spider .zyte_smartproxy_enabled = True
0 commit comments