Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Str Assign NameStore Str Assign NameStore TupleLoad Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list
N/A django.contrib.sites.shortcuts get_current_site django.core mail django.test TestCase connect.accounts.factories UserFactory connect.config.factories SiteFactory SiteConfigFactory connect.utils generate_unique_id send_connect_email UtilsTest N/A TestCase N/A test_generate_unique_id N/A N/A self N/A N/A N/A uid N/A generate_unique_id N/A N/A N/A self assertEqual N/A len uid 30 N/A N/A N/A self assertRegexpMatches uid ^\w+$ N/A test_can_send_connect_email N/A N/A self N/A N/A N/A subject Test email N/A template emails/email_base.html N/A recipient N/A UserFactory email recipient@test.test N/A site N/A SiteFactory domain mydomain.com N/A N/A site config N/A SiteConfigFactory site site N/A sender N/A UserFactory email sender@test.test N/A url http://testurl.com N/A comments N/A comment N/A logged_against N/A UserFactory email accused@test.test N/A email N/A send_connect_email subject template recipient site sender url comments logged_against N/A N/A N/A self assertEqual email 1 N/A N/A