Module Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Str NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad orelse Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr ListLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad Str Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad Assert CompareEq NameLoad ListLoad Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr keyword ListLoad NameLoad orelse Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword Str keyword ListLoad NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Str If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr keyword NameLoad NameLoad orelse Return Call NameLoad keyword NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Str If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr keyword NameLoad NameLoad orelse Return Call NameLoad keyword NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Return Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Str keyword Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Str keyword Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr keyword ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str Str
N/A N/A datetime N/A mock pyramid.testing DummyRequest N/A pytest h.api.models elastic h.emails.reply_notification generate h.models Annotation h.models Document DocumentMeta h.models User h.notification.reply_template Notification TestGenerate N/A object N/A test_calls_renderers_with_appropriate_context N/A N/A self req notification parent_user reply_user html_renderer text_renderer N/A N/A N/A N/A generate req notification N/A expected_context N/A document_title document_url parent parent_url parent_user reply reply_url reply_user reply_user_url unsubscribe_url My fascinating page http://example.org/ N/A notification parent http://example.com/ann/foo123 parent_user N/A notification reply http://example.com/ann/bar456 reply_user http://example.com/stream/user/ron http://example.com/unsub/FAKETOKEN N/A N/A N/A html_renderer assert_ expected_context N/A N/A N/A text_renderer assert_ expected_context N/A test_falls_back_to_target_uri_for_document_title N/A N/A self req notification storage_driver html_renderer text_renderer N/A N/A N/A N/A storage_driver elastic N/A N/A N/A N/A notification document N/A title N/A N/A N/A N/A N/A N/A N/A notification document meta N/A 0 value N/A N/A N/A generate req notification N/A N/A N/A html_renderer assert_ document_title http://example.org/ N/A N/A N/A text_renderer assert_ document_title http://example.org/ N/A test_returns_text_and_body_results_from_renderers N/A N/A self req notification html_renderer text_renderer N/A N/A N/A N/A html_renderer string_response HTML output N/A N/A text_renderer string_response Text output N/A N/A _ _ text html N/A generate req notification N/A N/A html HTML output N/A N/A text Text output N/A test_returns_subject_with_reply_username N/A N/A self req notification N/A N/A N/A N/A _ subject _ _ N/A generate req notification N/A N/A subject ron has replied to your annotation N/A N/A N/A N/A pytest mark usefixtures html_renderer text_renderer test_returns_parent_email_as_recipients N/A N/A self req notification N/A N/A N/A N/A recipients _ _ _ N/A generate req notification N/A N/A recipients N/A pat@ric.ia N/A N/A N/A N/A pytest mark usefixtures html_renderer text_renderer test_calls_token_serializer_with_correct_arguments N/A N/A self req notification token_serializer N/A N/A N/A N/A generate req notification N/A N/A N/A N/A token_serializer dumps assert_called_once_with N/A type uri reply acct:patricia@example.com N/A N/A N/A N/A pytest mark usefixtures html_renderer text_renderer test_jinja_templates_render N/A N/A self config req notification N/A N/A N/A Ensure that the jinja templates don't contain syntax errors N/A N/A N/A config include pyramid_jinja2 N/A N/A N/A config add_jinja2_extension h.jinja_extensions.Filters N/A N/A generate req notification N/A routes N/A N/A self config N/A N/A N/A N/A N/A config add_route annotation /ann/{id} N/A N/A N/A config add_route stream.user_query /stream/user/{user} N/A N/A N/A config add_route unsubscribe /unsub/{token} N/A N/A pytest fixture req N/A N/A self N/A N/A N/A N/A DummyRequest auth_domain example.com N/A N/A pytest fixture html_renderer N/A N/A self config N/A N/A N/A N/A N/A config testing_add_renderer h:templates/emails/reply_notification.html.jinja2 N/A N/A pytest fixture text_renderer N/A N/A self config N/A N/A N/A N/A N/A config testing_add_renderer h:templates/emails/reply_notification.txt.jinja2 N/A N/A pytest fixture document N/A N/A self storage_driver N/A N/A N/A title My fascinating page N/A N/A storage_driver elastic N/A N/A N/A N/A elastic Document title N/A title N/A N/A doc N/A Document N/A N/A N/A N/A doc meta append N/A DocumentMeta type title value N/A title N/A doc N/A N/A pytest fixture parent N/A N/A self storage_driver N/A N/A N/A common N/A id created updated text foo123 N/A N/A N/A datetime datetime utcnow N/A N/A N/A datetime datetime utcnow Foo is true N/A uri http://example.org/ N/A N/A storage_driver elastic N/A N/A N/A N/A elastic Annotation uri uri common N/A N/A N/A Annotation target_uri uri common N/A N/A pytest fixture reply N/A N/A self storage_driver N/A N/A N/A common N/A id created updated text bar456 N/A N/A N/A datetime datetime utcnow N/A N/A N/A datetime datetime utcnow No it is not! N/A uri http://example.org/ N/A N/A storage_driver elastic N/A N/A N/A N/A elastic Annotation uri uri common N/A N/A N/A Annotation target_uri uri common N/A N/A pytest fixture notification N/A N/A self reply reply_user parent parent_user document N/A N/A N/A N/A Notification reply reply reply_user reply_user parent parent parent_user parent_user document document N/A N/A pytest fixture parent_user N/A N/A self N/A N/A N/A N/A User username patricia email pat@ric.ia N/A N/A pytest fixture reply_user N/A N/A self N/A N/A N/A N/A User username ron email ron@thesmiths.com N/A N/A pytest fixture storage_driver N/A N/A self request N/A N/A N/A N/A request param N/A N/A N/A pytest fixture params N/A elastic postgres token_serializer N/A N/A self config N/A N/A N/A serializer N/A N/A mock Mock spec_set N/A dumps N/A N/A N/A serializer dumps return_value FAKETOKEN N/A N/A N/A config registry notification_serializer serializer N/A serializer N/A N/A pytest fixture N/A N/A N/A N/A pytest mark usefixtures routes token_serializer