Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword BinOpMult Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Return TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Assign NameStore Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr BinOpSub Num NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num NameLoad Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad Num Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad BinOpAdd NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Num body Assign NameStore Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr BinOpSub Num NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult NameLoad Num decorator_list decorator_list
N/A N/A datetime django.core mail django.contrib.auth.models User utils BaseTestCase invitation app_settings invitation.models InvitationError Invitation InvitationStats invitation.models performance_calculator_invite_only invitation.models performance_calculator_invite_optional N/A EXPIRE_DAYS N/A app_settings EXPIRE_DAYS N/A INITIAL_INVITATIONS N/A app_settings INITIAL_INVITATIONS InvitationTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super InvitationTestCase self setUp N/A user N/A N/A self user N/A N/A N/A N/A user invitation_stats use N/A N/A self invitation N/A N/A N/A Invitation objects create user user email test@example.com key N/A F 40 N/A make_invalid N/A N/A self invitation N/A None N/A N/A invitation N/A invitation N/A self invitation N/A N/A invitation date_invited N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta N/A EXPIRE_DAYS 10 N/A N/A N/A invitation save N/A invitation N/A test_send_email N/A N/A self N/A N/A N/A N/A N/A N/A self invitation send_email N/A N/A N/A self assertEqual N/A len N/A mail outbox 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A mail outbox N/A 0 recipients N/A 0 test@example.com N/A N/A N/A N/A self invitation send_email other@email.org N/A N/A N/A self assertEqual N/A len N/A mail outbox 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A mail outbox N/A 1 recipients N/A 0 other@email.org N/A test_mark_accepted N/A N/A self N/A N/A N/A new_user N/A N/A N/A User objects create_user test test@example.com test N/A pk N/A N/A self invitation pk N/A N/A N/A N/A self invitation mark_accepted new_user N/A N/A N/A self assertRaises N/A Invitation DoesNotExist N/A N/A Invitation objects get pk pk N/A test_invite N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self user invitation_stats add_available 10 N/A N/A N/A N/A N/A N/A Invitation objects all delete N/A invitation N/A N/A N/A Invitation objects invite N/A N/A self user test@example.com N/A N/A N/A self assertEqual N/A invitation user N/A N/A self user N/A N/A N/A self assertEqual N/A invitation email test@example.com N/A N/A N/A self assertEqual N/A len N/A invitation key 40 N/A N/A N/A self assertEqual N/A N/A invitation is_valid True N/A N/A N/A self assertEqual N/A type N/A N/A invitation expiration_date N/A datetime date N/A N/A N/A self assertEqual N/A N/A N/A Invitation objects invite N/A N/A self user test@example.com invitation N/A invitation N/A N/A self make_invalid invitation N/A new_invitation N/A N/A N/A Invitation objects invite N/A N/A self user test@example.com N/A N/A N/A self assertEqual N/A N/A new_invitation is_valid True N/A N/A N/A self assertNotEqual new_invitation invitation N/A test_find N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A Invitation objects find N/A N/A self invitation key N/A self invitation N/A invitation N/A N/A self make_invalid N/A N/A N/A self assertEqual N/A N/A invitation is_valid False N/A N/A N/A self assertRaises N/A Invitation DoesNotExist N/A N/A Invitation objects find N/A invitation key N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Invitation objects all count 0 N/A N/A N/A self assertRaises N/A Invitation DoesNotExist N/A N/A Invitation objects find N/A N/A InvitationStatsBaseTestCase N/A BaseTestCase N/A stats N/A N/A self user N/A None N/A N/A user N/A user N/A N/A self user N/A N/A N/A N/A user invitation_stats available N/A N/A user invitation_stats sent N/A N/A user invitation_stats accepted N/A MockInvitationStats N/A object N/A __init__ N/A N/A self available sent accepted N/A N/A N/A N/A self available available N/A N/A self sent sent N/A N/A self accepted accepted N/A N/A N/A InvitationStatsInviteOnlyTestCase N/A InvitationStatsBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super InvitationStatsInviteOnlyTestCase self setUp N/A N/A app_settings INVITE_ONLY True N/A test_default_performance_func N/A N/A self N/A N/A N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_only N/A N/A self MockInvitationStats 5 5 1 0.42 N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_only N/A N/A self MockInvitationStats 0 10 10 1.0 N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_only N/A N/A self MockInvitationStats 10 0 0 0.0 N/A test_add_available N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self stats N/A INITIAL_INVITATIONS 0 0 N/A N/A N/A N/A N/A N/A self user invitation_stats add_available N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 1 0 0 N/A N/A N/A N/A N/A N/A self user invitation_stats add_available 10 N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 11 0 0 N/A test_use N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self user invitation_stats add_available 10 N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 10 0 0 N/A N/A N/A N/A N/A N/A self user invitation_stats use N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 9 1 0 N/A N/A N/A N/A N/A N/A self user invitation_stats use 5 N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 4 6 0 N/A N/A N/A self assertRaises InvitationError N/A N/A N/A N/A self user invitation_stats use N/A INITIAL_INVITATIONS 5 N/A test_mark_accepted N/A N/A self N/A N/A N/A N/A INITIAL_INVITATIONS 10 N/A N/A i 10 N/A N/A N/A N/A N/A N/A self user invitation_stats add_available N/A 10 INITIAL_INVITATIONS N/A N/A i INITIAL_INVITATIONS N/A N/A N/A N/A N/A N/A self user invitation_stats use i N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted N/A N/A N/A self assertEqual N/A N/A self stats N/A 0 i 1 N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted 5 N/A N/A N/A self assertEqual N/A N/A self stats N/A 0 i 6 N/A N/A N/A self assertRaises InvitationError N/A N/A N/A N/A self user invitation_stats mark_accepted i N/A test_give_invitations N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self stats N/A INITIAL_INVITATIONS 0 0 N/A N/A N/A N/A InvitationStats objects give_invitations count 3 N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 3 0 0 N/A N/A N/A N/A InvitationStats objects give_invitations N/A N/A self user count 3 N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 6 0 0 N/A N/A N/A N/A InvitationStats objects give_invitations N/A N/A self user count N/A N/A N/A u N/A 4 N/A N/A N/A self assertEqual N/A N/A self stats N/A N/A INITIAL_INVITATIONS 10 0 0 N/A test_reward N/A N/A self N/A N/A N/A N/A N/A self assertAlmostEqual N/A N/A N/A N/A self user invitation_stats performance 0.0 N/A N/A N/A N/A InvitationStats objects reward N/A N/A N/A self assertEqual N/A N/A N/A N/A self user invitation_stats available INITIAL_INVITATIONS N/A N/A N/A N/A N/A N/A self user invitation_stats use INITIAL_INVITATIONS N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted INITIAL_INVITATIONS N/A N/A N/A N/A InvitationStats objects reward N/A invitation_stats N/A N/A N/A self user invitation_stats N/A N/A N/A self assertEqual N/A N/A invitation_stats performance 0.5 True N/A N/A N/A self assertEqual N/A invitation_stats available INITIAL_INVITATIONS N/A N/A InvitationStatsInviteOptionalTestCase N/A InvitationStatsBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super InvitationStatsInviteOptionalTestCase self setUp N/A N/A app_settings INVITE_ONLY False N/A test_default_performance_func N/A N/A self N/A N/A N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_optional N/A N/A self MockInvitationStats 5 5 1 0.2 N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_optional N/A N/A self MockInvitationStats 20 5 1 0.2 N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_optional N/A N/A self MockInvitationStats 0 5 1 0.2 N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_optional N/A N/A self MockInvitationStats 0 10 10 1.0 N/A N/A N/A self assertAlmostEqual N/A performance_calculator_invite_optional N/A N/A self MockInvitationStats 10 0 0 0.0 N/A test_use N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self stats N/A INITIAL_INVITATIONS 0 0 N/A N/A N/A N/A N/A N/A self user invitation_stats use N/A N/A N/A self assertEqual N/A N/A self stats N/A INITIAL_INVITATIONS 1 0 N/A N/A N/A N/A N/A N/A self user invitation_stats use 5 N/A N/A N/A self assertEqual N/A N/A self stats N/A INITIAL_INVITATIONS 6 0 N/A N/A N/A N/A N/A N/A self user invitation_stats use N/A INITIAL_INVITATIONS 5 N/A N/A N/A self assertEqual N/A N/A self stats N/A INITIAL_INVITATIONS N/A INITIAL_INVITATIONS 11 0 N/A test_mark_accepted N/A N/A self N/A N/A N/A N/A INITIAL_INVITATIONS 10 N/A N/A i 10 N/A N/A N/A N/A N/A N/A self user invitation_stats add_available N/A 10 INITIAL_INVITATIONS N/A N/A i INITIAL_INVITATIONS N/A N/A N/A N/A N/A N/A self user invitation_stats use i N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted N/A N/A N/A self assertEqual N/A N/A self stats N/A i i 1 N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted 5 N/A N/A N/A self assertEqual N/A N/A self stats N/A i i 6 N/A N/A N/A self assertRaises InvitationError N/A N/A N/A N/A self user invitation_stats mark_accepted i N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted 4 N/A N/A N/A self assertEqual N/A N/A self stats N/A i i 10 N/A test_reward N/A N/A self N/A N/A N/A N/A N/A self assertAlmostEqual N/A N/A N/A N/A self user invitation_stats performance 0.0 N/A N/A N/A N/A InvitationStats objects reward N/A N/A N/A self assertEqual N/A N/A N/A N/A self user invitation_stats available INITIAL_INVITATIONS N/A N/A N/A N/A N/A N/A self user invitation_stats use INITIAL_INVITATIONS N/A N/A N/A N/A N/A N/A self user invitation_stats mark_accepted INITIAL_INVITATIONS N/A N/A N/A N/A InvitationStats objects reward N/A invitation_stats N/A N/A N/A self user invitation_stats N/A N/A N/A self assertEqual N/A N/A invitation_stats performance N/A app_settings REWARD_THRESHOLD True N/A N/A N/A self assertEqual N/A invitation_stats available N/A INITIAL_INVITATIONS 2 N/A N/A