Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assert BoolOpAnd Call NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad Str Assert CompareNotEq NameLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad BinOpAdd Str BinOpMult Str Num Assert UnaryOpNot Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Str attr Num For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Str Assert UnaryOpNot Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Str attr Num attr attr Num attr attr Num Expr Call NameLoad Call NameLoad Str Str decorator_list Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A fudge N/A mock nose.tools eq_ django.conf settings olympia.amo.tests TestCase olympia.users.models BlacklistedName olympia.users.utils EmailResetCode autocreate_username TestEmailResetCode N/A TestCase N/A test_parse N/A N/A self N/A N/A N/A id 1 N/A mail nobody@mozilla.org N/A N/A token hash N/A N/A EmailResetCode create id mail N/A N/A r_id r_mail N/A N/A EmailResetCode parse token hash N/A N/A eq_ id r_id N/A N/A eq_ mail r_mail N/A N/A N/A self assertRaises ValueError N/A EmailResetCode parse token N/A hash N/A -5 N/A N/A N/A self assertRaises ValueError N/A EmailResetCode parse N/A token N/A 5 hash N/A N/A TestAutoCreateUsername N/A TestCase N/A test_invalid_characters N/A N/A self N/A N/A N/A N/A eq_ N/A autocreate_username testaccount+slug testaccountslug N/A test_empty_username_is_a_random_hash N/A N/A self N/A N/A N/A un N/A autocreate_username .+ N/A N/A N/A len un N/A N/A N/A un startswith .+ N/A Unexpected: %s un N/A test_blacklisted N/A N/A self N/A N/A N/A N/A N/A N/A BlacklistedName objects create name firefox N/A un N/A autocreate_username firefox N/A N/A un firefox N/A Unexpected: %s un N/A test_too_long N/A N/A self N/A N/A N/A un N/A autocreate_username N/A f N/A u 255 N/A N/A N/A N/A un startswith fuuuuuuuuuuuuuuuuuu N/A Unexpected: %s un N/A test_too_many_tries N/A N/A self filter N/A N/A N/A filter N/A N/A N/A N/A N/A N/A N/A N/A filter is_callable returns_fake provides count returns 1 N/A i N/A range 3 N/A N/A filter N/A N/A N/A N/A filter next_call returns 1 N/A filter N/A N/A N/A N/A filter next_call returns 0 N/A un N/A autocreate_username base N/A N/A N/A N/A un startswith base N/A Unexpected: %s un N/A N/A N/A N/A mock patch object settings MAX_GEN_USERNAME_TRIES 3 N/A N/A fudge patch olympia.users.utils.UserProfile.objects.filter test_duplicate_username_counter N/A N/A self filter N/A N/A N/A filter N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A filter expects_call returns_fake expects count returns 1 next_call returns 1 next_call returns 0 N/A N/A eq_ N/A autocreate_username existingname existingname3 N/A N/A N/A fudge patch olympia.users.utils.UserProfile.objects.filter N/A