Module ImportFrom alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr body Return TryFinally body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Return Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad ListLoad Str Str Index NameLoad decorator_list Assign NameStore TupleLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list decorator_list Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Expr Call AttributeLoad NameLoad attr SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list
N/A django.http HttpResponse django.test TestCase RequestFactory django.contrib.sessions.backends.db SessionStore DatabaseSession unittest TestSuite experiments conf experiments.experiment_counters ExperimentCounter experiments.middleware ExperimentsRetentionMiddleware experiments.signal_handlers transfer_enrollments_to_user experiments.utils DummyUser SessionUser AuthenticatedUser participant experiments.models Experiment ENABLED_STATE Enrollment django.contrib.auth get_user_model N/A TEST_ALTERNATIVE blue N/A EXPERIMENT_NAME backgroundcolor WebUserIncorporateTestCase N/A object N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super WebUserIncorporateTestCase self __init__ args kwargs N/A N/A self experiment_counter N/A ExperimentCounter N/A test_can_incorporate N/A N/A self N/A N/A N/A N/A N/A N/A self incorporating incorporate N/A self incorporated N/A test_incorporates_enrollment_from_other N/A N/A self N/A N/A N/A N/A N/A N/A self _has_data N/A N/A N/A N/A N/A experiment N/A N/A N/A Experiment objects create name EXPERIMENT_NAME state ENABLED_STATE N/A N/A N/A N/A self incorporated set_alternative EXPERIMENT_NAME TEST_ALTERNATIVE N/A N/A N/A N/A self incorporating incorporate N/A self incorporated N/A N/A N/A self assertEqual N/A N/A N/A self incorporating get_alternative EXPERIMENT_NAME TEST_ALTERNATIVE N/A N/A N/A N/A N/A self experiment_counter delete experiment N/A _has_data N/A N/A self N/A N/A N/A N/A N/A N/A isinstance N/A self incorporated DummyUser N/A N/A isinstance N/A self incorporating DummyUser N/A N/A dummy N/A N/A incorporating N/A N/A N/A N/A DummyUser N/A anonymous N/A N/A incorporating N/A N/A N/A N/A SessionUser session N/A DatabaseSession N/A authenticated N/A N/A incorporating N/A N/A N/A User N/A get_user_model N/A N/A AuthenticatedUser user N/A N/A N/A User objects create username N/A N/A incorporating_user incorporated_user N/A incorporating N/A N/A user_factories N/A dummy anonymous authenticated load_tests N/A N/A loader standard_tests _ N/A N/A N/A suite N/A TestSuite N/A N/A N/A suite addTests standard_tests N/A incorporating user_factories N/A N/A incorporated user_factories N/A N/A test_case N/A build_test_case incorporating incorporated N/A tests N/A N/A loader loadTestsFromTestCase test_case N/A N/A N/A suite addTests tests N/A suite N/A build_test_case N/A N/A incorporating incorporated N/A N/A InstantiatedTestCase N/A WebUserIncorporateTestCase TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super InstantiatedTestCase self setUp N/A N/A self incorporating N/A incorporating True N/A N/A self incorporated N/A incorporated False N/A N/A N/A N/A InstantiatedTestCase __name__ N/A WebUserIncorporateTestCase_into_%s_from_%s N/A N/A incorporating __name__ N/A incorporated __name__ N/A InstantiatedTestCase N/A IncorporateTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self experiment N/A N/A N/A Experiment objects create name EXPERIMENT_NAME state ENABLED_STATE N/A N/A self experiment_counter N/A ExperimentCounter N/A User N/A get_user_model N/A N/A self user N/A N/A N/A User objects create username incorporate_user N/A N/A N/A self user is_confirmed_human True N/A request_factory N/A RequestFactory N/A N/A self request N/A N/A request_factory get / N/A N/A N/A self request session N/A DatabaseSession N/A N/A N/A N/A participant N/A self request confirm_human N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self experiment_counter delete N/A self experiment N/A _login N/A N/A self N/A N/A N/A N/A N/A self request user N/A self user N/A N/A transfer_enrollments_to_user None N/A self request N/A self user N/A test_visit_incorporate N/A N/A self N/A N/A N/A alternative N/A N/A N/A participant N/A self request enroll N/A N/A self experiment name N/A alternative N/A N/A N/A N/A ExperimentsRetentionMiddleware process_response N/A self request N/A HttpResponse N/A N/A N/A self assertEqual N/A N/A dict N/A N/A N/A self experiment_counter participant_goal_frequencies N/A self experiment alternative N/A N/A N/A participant N/A self request _participant_identifier N/A N/A conf VISIT_NOT_PRESENT_COUNT_GOAL 1 N/A N/A N/A self assertFalse N/A N/A N/A N/A N/A Enrollment objects all exists N/A N/A N/A self _login N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A Enrollment objects all exists N/A N/A N/A self assertIsNotNone N/A N/A N/A N/A N/A Enrollment objects all N/A 0 last_seen N/A N/A N/A self assertEqual N/A N/A dict N/A N/A N/A self experiment_counter participant_goal_frequencies N/A self experiment alternative N/A N/A N/A participant N/A self request _participant_identifier N/A N/A conf VISIT_NOT_PRESENT_COUNT_GOAL 1 N/A N/A N/A self assertEqual N/A N/A N/A self experiment_counter goal_count N/A self experiment alternative N/A conf VISIT_NOT_PRESENT_COUNT_GOAL 1 N/A N/A N/A self assertEqual N/A N/A N/A self experiment_counter participant_count N/A self experiment alternative 1 N/A N/A