Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Str Expr Call NameLoad If CompareNotIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad body Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad orelse Import alias Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return IfExp NameLoad TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr BoolOpOr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad Call NameLoad Str attr Index Num Return BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A 
This module contains some assorted functions used in tests
 __future__ absolute_import N/A os importlib import_module twisted.trial.unittest SkipTest scrapy.exceptions NotConfigured scrapy.utils.boto is_botocore assert_aws_environ N/A N/A N/A N/A N/A Asserts the current environment is suitable for running AWS testsi.
    Raises SkipTest with the reason if it's not.
     N/A N/A skip_if_no_boto N/A N/A AWS_ACCESS_KEY_ID N/A os environ N/A N/A N/A SkipTest AWS keys not found N/A skip_if_no_boto N/A N/A N/A N/A N/A N/A N/A N/A is_botocore N/A N/A N/A NotConfigured N/A e N/A N/A N/A SkipTest e N/A get_s3_content_and_delete N/A N/A bucket path with_key N/A False N/A N/A  Get content from s3 key, and delete key afterwards.
     N/A N/A is_botocore N/A N/A botocore.session N/A session N/A N/A N/A botocore session get_session N/A client N/A N/A session create_client s3 N/A key N/A N/A client get_object Bucket bucket Key path N/A content N/A N/A N/A key N/A Body read N/A N/A N/A client delete_object Bucket bucket Key path N/A N/A boto N/A bucket N/A N/A N/A N/A boto connect_s3 get_bucket bucket validate False N/A key N/A N/A bucket get_key path N/A content N/A N/A key get_contents_as_string N/A N/A N/A bucket delete_key path N/A N/A with_key N/A content key content N/A get_crawler N/A N/A spidercls settings_dict N/A None None N/A N/A Return an unconfigured Crawler object. If settings_dict is given, it
    will be used to populate the crawler settings with a project level
    priority.
     scrapy.crawler CrawlerRunner scrapy.spiders Spider N/A runner N/A CrawlerRunner settings_dict N/A N/A N/A runner create_crawler N/A spidercls Spider N/A get_pythonpath N/A N/A N/A N/A N/A Return a PYTHONPATH suitable to use in processes so that they find this
    installation of Scrapy N/A scrapy_path N/A N/A N/A import_module scrapy __path__ N/A 0 N/A N/A N/A N/A N/A N/A os path dirname scrapy_path N/A os pathsep N/A N/A N/A os environ get PYTHONPATH N/A get_testenv N/A N/A N/A N/A N/A Return a OS environment dict suitable to fork processes that need to import
    this installation of Scrapy, instead of a system installed one.
     N/A env N/A N/A N/A os environ copy N/A N/A env N/A PYTHONPATH N/A get_pythonpath N/A env N/A assert_samelines N/A N/A testcase text1 text2 msg N/A None N/A N/A Asserts text1 and text2 have the same lines, ignoring differences in
    line endings between platforms
     N/A N/A N/A testcase assertEqual N/A N/A text1 splitlines N/A N/A text2 splitlines msg N/A