Module Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr keyword Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list
N/A N/A pytest h db h.badge models test_cannot_add_same_uri_twice N/A N/A N/A N/A N/A N/A N/A N/A db Session add N/A N/A models Blocklist uri test_uri N/A N/A N/A N/A db Session flush N/A N/A N/A pytest raises ValueError N/A N/A N/A N/A models Blocklist uri test_uri N/A test_get_by_uri_returns_model N/A N/A N/A N/A N/A model N/A N/A models Blocklist uri test_uri N/A N/A N/A N/A db Session add model N/A N/A N/A N/A db Session flush N/A N/A N/A N/A N/A models Blocklist get_by_uri test_uri model N/A test_get_by_uri_returns_None_if_no_match N/A N/A N/A N/A N/A model N/A N/A models Blocklist uri test_uri N/A N/A N/A N/A db Session add model N/A N/A N/A N/A db Session flush N/A N/A N/A N/A N/A models Blocklist get_by_uri another_uri None N/A test_all N/A N/A N/A N/A N/A uris N/A N/A N/A models Blocklist uri first N/A N/A models Blocklist uri second N/A N/A models Blocklist uri third N/A uri uris N/A N/A N/A N/A N/A db Session add uri N/A N/A N/A N/A db Session flush N/A N/A N/A N/A N/A models Blocklist all uris N/A test_is_blocked N/A N/A N/A N/A N/A N/A N/A N/A db Session add N/A N/A models Blocklist uri http://example.com N/A N/A N/A N/A db Session add N/A N/A models Blocklist uri http://example.com/bar N/A N/A N/A N/A db Session flush N/A N/A N/A N/A models Blocklist is_blocked http://example.com N/A N/A N/A N/A models Blocklist is_blocked http://example.com/bar N/A N/A N/A N/A N/A models Blocklist is_blocked http://example.com/foo N/A test_is_blocked_with_wildcards N/A N/A N/A N/A N/A N/A N/A N/A db Session add N/A N/A models Blocklist uri %//example.com% N/A N/A N/A N/A db Session flush N/A N/A N/A N/A models Blocklist is_blocked http://example.com/ N/A N/A N/A N/A models Blocklist is_blocked http://example.com/bar N/A N/A N/A N/A models Blocklist is_blocked http://example.com/foo N/A