module documentation
This module contains some assorted functions used in tests
Function | assert |
Undocumented |
Function | assert |
Asserts text1 and text2 have the same lines, ignoring differences in line endings between platforms |
Function | get |
Return an unconfigured Crawler object. If settings_dict is given, it will be used to populate the crawler settings with a project level priority. |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Return a PYTHONPATH suitable to use in processes so that they find this installation of Scrapy |
Function | get |
Return a OS environment dict suitable to fork processes that need to import this installation of Scrapy, instead of a system installed one. |
Function | get |
Undocumented |
Function | mock |
Creates autospec mocks for google-cloud-storage Client, Bucket and Blob classes and set their proper return values. |
Function | skip |
Undocumented |
Return an unconfigured Crawler object. If settings_dict is given, it will be used to populate the crawler settings with a project level priority.
def get_ftp_content_and_delete(path, host, port, username, password, use_active_mode=False):
(source)
¶
Undocumented
Return a OS environment dict suitable to fork processes that need to import this installation of Scrapy, instead of a system installed one.