1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 11:43:41 +00:00
Vostretsov Nikita b364d27247 [MRG+1] Automatic port selection for servicies in unit tests (#3210)
* ability to pass port as a parameter

* try to find free ports

* use environment variables to pass mock server address

* get mock server address from environment variables

* ability to select ports for proxy in runtime

* use common method for URLs from mock server

* https support

* get mock server address

* get mock address

* replace hand-written mechanism by kernel-based one

* use ephemeral ports in mockserver

* strip EOL from addresses

* use ephemeral port in proxy

* no need to restore environment as it is restored in tearDown

* decode bytes

* use mockserver address as a variable

* ability to pass address as variable

* per test-case mockserver

* use base class

* remove obsolete environment manipulation

* return usage of proxy for http cases

* common method for broking proxy auth credentials

* python version-independent url methods
2018-05-23 21:25:50 +03:00
..
2018-03-13 13:05:37 +08:00
2014-07-30 19:45:08 -03:00
2017-10-28 16:24:40 +05:30
2016-11-08 13:30:51 +01:00
2017-09-25 12:49:27 +02:00
2014-07-30 19:45:08 -03:00
2018-03-03 20:07:50 +05:30
2017-08-04 14:35:43 +02:00
2015-07-29 13:51:01 +00:00
2017-03-03 17:03:25 +01:00
2014-07-30 19:45:08 -03:00
2017-03-01 20:59:52 +01:00