Module Import alias Import alias identifier Import alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num CompareNotEq SubscriptLoad NameLoad Index Num Str ListLoad Str Str With Call AttributeLoad NameLoad attr NameLoad body Expr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num NameLoad Return Str decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num NameLoad Return Str decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num NameLoad Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num NameLoad Return Str decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num NameLoad Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num NameLoad Return Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Num TupleLoad NameLoad NameLoad Return Str decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad decorator_list Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Dict Str Str decorator_list Expr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Str decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A responses N/A unittest2 unittest N/A livescrape BasePage N/A N/A livescrape ScrapedPage N/A N/A scrape_url http://fake-host/test.html N/A Test N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A responses reset N/A N/A N/A responses add N/A responses GET N/A BasePage scrape_url <html><body>
            <h1 class="foo" data-foo=1>Heading</h1>
            <h1 id="the-id">15</h1>
            <span class=float>3.14</span>
            <span class=int>42</span>
            <span class=bool></span>
            <span class=date>2016-04-23</span>
            <a href="/very-fake">link</a>
            <table>
              <tr><th>key<td>value</tr>
              <tr><th>key2<td>value2</tr>
            </table
             N/A N/A N/A responses start N/A N/A N/A self addCleanup N/A responses stop N/A test_simplecss N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1.foo N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo Heading N/A test_dict N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1.foo N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x _dict N/A foo Heading N/A test_ambigous N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1 N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo Heading N/A test_multiple N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1 multiple True N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo N/A Heading 15 N/A test_attribute N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1.foo attribute data-foo N/A not_there N/A N/A livescrape Css h1.foo attribute not-there N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo 1 N/A N/A N/A self assertIsNone N/A x not_there N/A test_link N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssLink a Page N/A N/A x N/A Page N/A N/A N/A self assertIsInstance N/A x foo Page N/A N/A N/A self assertEqual N/A N/A x foo scrape_url http://fake-host/very-fake N/A test_float N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssFloat .float N/A foo_fail N/A N/A livescrape CssFloat .date N/A N/A x N/A Page N/A N/A N/A self assertAlmostEqual N/A x foo 3.14 N/A N/A N/A self assertIsNone N/A x foo_fail N/A test_int N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssInt .int N/A foo_fail N/A N/A livescrape CssInt .date N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo 42 N/A N/A N/A self assertIsNone N/A x foo_fail N/A test_date N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssDate .date %Y-%m-%d N/A foo_fail N/A N/A livescrape CssDate .float %Y-%m-%d N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A N/A x foo year 2016 N/A N/A N/A self assertIsNone N/A x foo_fail N/A test_bool N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssBoolean .bool N/A bar N/A N/A livescrape CssBoolean .bool-not-there N/A N/A x N/A Page N/A N/A N/A self assertTrue N/A x foo N/A N/A N/A self assertFalse N/A x bar N/A test_raw N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssRaw table>tr N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo <th>key</th><td>value</td> N/A test_complex N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssMulti table tr key N/A N/A livescrape Css th value N/A N/A livescrape Css td N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo N/A N/A key value key value N/A key value key2 value2 N/A test_group N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssGroup table tr multiple True N/A N/A foo key N/A N/A livescrape Css th N/A N/A foo value N/A N/A livescrape Css td N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 0 N/A key key N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 0 N/A value value N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 1 N/A key key2 N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 1 N/A value value2 N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 0 key key N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 0 value value N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 1 key key2 N/A N/A N/A self assertEqual N/A N/A N/A x foo N/A 1 value value2 N/A N/A N/A self assertEqual N/A N/A N/A N/A x foo N/A 0 _dict N/A key value key value N/A N/A N/A self assertEqual N/A x N/A x N/A dir N/A N/A x foo N/A 1 N/A N/A x N/A 0 _ N/A key value N/A N/A N/A self assertRaises AttributeError N/A N/A N/A N/A N/A x foo N/A 0 nonexistent N/A test_cleanup N/A N/A self N/A N/A N/A cleanup_args N/A None cleanup N/A N/A x N/A N/A N/A N/A N/A self assertIsNone N/A cleanup_args N/A 0 N/A N/A cleanup_args N/A 0 x N/A TESTed N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1.foo cleanup cleanup N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo TESTed N/A N/A N/A self assertEqual N/A cleanup_args N/A 0 Heading N/A test_extract N/A N/A self N/A N/A N/A extract_args N/A None extract N/A N/A x N/A N/A N/A N/A N/A self assertIsNone N/A extract_args N/A 0 N/A N/A extract_args N/A 0 x N/A TESTed N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1.foo extract extract N/A N/A x N/A Page N/A N/A N/A self assertEqual N/A x foo TESTed N/A N/A N/A self assertEqual N/A N/A extract_args N/A 0 text Heading N/A test_cleanup_extract N/A N/A self N/A N/A N/A cleanup_args N/A None N/A extract_args N/A None cleanup N/A N/A x N/A N/A N/A N/A N/A self assertIsNone N/A cleanup_args N/A 0 N/A N/A cleanup_args N/A 0 x N/A TESTed N/A extract N/A N/A x N/A N/A N/A N/A N/A self assertIsNone N/A extract_args N/A 0 N/A N/A extract_args N/A 0 x N/A Xtracted N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape Css h1.foo cleanup cleanup extract extract N/A N/A x N/A Page N/A value N/A x foo N/A N/A N/A self assertEqual N/A N/A extract_args N/A 0 text Heading N/A N/A N/A self assertEqual N/A cleanup_args N/A 0 Xtracted N/A N/A N/A self assertEqual value TESTed N/A test_decorator N/A N/A self N/A N/A N/A cleanup_args N/A None N/A extract_args N/A None N/A method_args N/A None cleanup N/A N/A x N/A N/A N/A N/A N/A self assertIsNone N/A cleanup_args N/A 0 N/A N/A cleanup_args N/A 0 x N/A TESTed N/A extract N/A N/A x N/A N/A N/A N/A N/A self assertIsNone N/A extract_args N/A 0 N/A N/A extract_args N/A 0 x N/A Xtracted N/A Page N/A BasePage N/A foo N/A N/A self value element N/A N/A N/A N/A method_args N/A 0 N/A value element N/A METhod N/A N/A N/A livescrape Css h1.foo cleanup cleanup extract extract N/A N/A x N/A Page N/A value N/A x foo N/A N/A N/A self assertEqual N/A N/A extract_args N/A 0 text Heading N/A N/A N/A self assertEqual N/A cleanup_args N/A 0 Xtracted N/A N/A N/A self assertEqual N/A N/A method_args N/A 0 N/A 0 TESTed N/A N/A N/A self assertEqual N/A N/A N/A method_args N/A 0 N/A 1 text Heading N/A N/A N/A self assertEqual value METhod N/A test_headers N/A N/A self N/A N/A Page N/A BasePage N/A N/A scrape_headers N/A foo bar N/A N/A N/A N/A N/A Page scrape_fetch N/A BasePage scrape_url N/A N/A N/A self assertEqual N/A len N/A responses calls 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A responses calls N/A 0 request headers N/A Foo bar N/A test_referer N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssLink a Page N/A N/A x N/A Page N/A N/A N/A self assertIsInstance N/A x foo Page N/A N/A N/A responses add N/A responses GET N/A N/A x foo scrape_url <html> N/A N/A N/A self assertIsNone N/A N/A x foo foo N/A N/A N/A self assertEqual N/A len N/A responses calls 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A responses calls N/A 1 request headers N/A Referer http://fake-host/test.html N/A test_custom_referer N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssLink a Page referer http://no N/A N/A x N/A Page N/A N/A N/A self assertIsInstance N/A x foo Page N/A N/A N/A responses add N/A responses GET N/A N/A x foo scrape_url <html> N/A N/A N/A self assertIsNone N/A N/A x foo foo N/A N/A N/A self assertEqual N/A len N/A responses calls 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A responses calls N/A 1 request headers N/A Referer http://no N/A test_no_referer N/A N/A self N/A N/A Page N/A BasePage N/A N/A foo N/A N/A livescrape CssLink a Page referer False N/A N/A x N/A Page N/A N/A N/A self assertIsInstance N/A x foo Page N/A N/A N/A responses add N/A responses GET N/A N/A x foo scrape_url <html> N/A N/A N/A self assertIsNone N/A N/A x foo foo N/A N/A N/A self assertEqual N/A len N/A responses calls 2 N/A N/A N/A self assertNotIn Referer N/A N/A N/A N/A responses calls N/A 1 request headers N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main