Skip to content
This repository was archived by the owner on Jul 19, 2018. It is now read-only.

Commit 571a236

Browse files
committed
fix testcase
1 parent 4d1b8df commit 571a236

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scrapylib/tests/test_crawlera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _assert_disabled(self, spider, settings=None):
4747

4848
def _assert_enabled(self, spider,
4949
settings=None,
50-
proxyurl='http://proxy.crawlera.com:8010',
50+
proxyurl='http://proxy.crawlera.com:8010?noconnect',
5151
proxyauth=basic_auth_header('user', 'pass'),
5252
bancode=503,
5353
maxbans=20,

scrapylib/tests/test_hubproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _assert_disabled(self, spider, settings=None):
4646

4747
def _assert_enabled(self, spider,
4848
settings=None,
49-
proxyurl='http://proxy.crawlera.com:8010',
49+
proxyurl='http://proxy.crawlera.com:8010?noconnect',
5050
proxyauth=basic_auth_header('user', 'pass'),
5151
bancode=503,
5252
maxbans=20,

0 commit comments

Comments
 (0)