Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Str keyword ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list decorator_list
N/A django.contrib.auth.models User django.core.urlresolvers reverse django.test.client Client django_lean.experiments.models AnonymousVisitor Experiment GoalRecord GoalType django_lean.experiments.tests.utils TestCase django_lean.experiments.views TRANSPARENT_1X1_PNG BugViewTest N/A TestCase N/A N/A urls django_lean.experiments.tests.urls call_goal N/A N/A self client goal N/A N/A N/A url N/A reverse django_lean.experiments.views.record_experiment_goal args N/A goal N/A response N/A N/A client get url N/A N/A N/A self assertEquals N/A response status_code 200 N/A N/A N/A self assertEquals N/A response N/A Content-Type image/png N/A N/A N/A self assertEquals N/A response N/A Cache-Control max-age=0 N/A N/A N/A self assertEquals N/A response content TRANSPARENT_1X1_PNG N/A testPngResponse N/A N/A self N/A N/A N/A experiment N/A Experiment name test-experiment N/A N/A N/A experiment save N/A N/A experiment state N/A Experiment ENABLED_STATE N/A N/A N/A experiment save N/A goal_type N/A GoalType name test-goal N/A N/A N/A goal_type save N/A experiment_url N/A reverse django_lean.experiments.tests.views.experiment_test args N/A N/A experiment name N/A confirm_human_url N/A reverse django_lean.experiments.views.confirm_human N/A client N/A Client N/A N/A N/A self call_goal client N/A N/A N/A self call_goal client unknown-goal N/A N/A N/A self call_goal client N/A goal_type name N/A N/A N/A self assertEquals 0 N/A N/A N/A N/A N/A GoalRecord objects filter goal_type goal_type count N/A nb_anonymous_visitors N/A N/A N/A AnonymousVisitor objects count N/A response N/A N/A client get confirm_human_url N/A N/A N/A self assertEquals N/A response status_code 204 N/A response N/A N/A client get experiment_url N/A N/A N/A self assertEquals N/A response status_code 200 N/A N/A N/A self assertEquals N/A nb_anonymous_visitors 1 N/A N/A N/A AnonymousVisitor objects count N/A N/A N/A client get N/A /test-experiment/%s N/A experiment name N/A N/A N/A self assertEquals N/A nb_anonymous_visitors 1 N/A N/A N/A AnonymousVisitor objects count N/A N/A N/A self call_goal client N/A goal_type name N/A N/A N/A self assertEquals 1 N/A N/A N/A N/A N/A GoalRecord objects filter goal_type goal_type count N/A N/A N/A self call_goal client N/A goal_type name N/A N/A N/A self assertEquals 2 N/A N/A N/A N/A N/A GoalRecord objects filter goal_type goal_type count N/A two_goal_records N/A N/A N/A GoalRecord objects filter goal_type goal_type N/A N/A N/A self assertEquals N/A N/A two_goal_records N/A 0 anonymous_visitor N/A N/A two_goal_records N/A 1 anonymous_visitor N/A client N/A Client N/A user N/A User username testuser email testuser@example.com N/A N/A N/A user set_password password N/A N/A N/A user save N/A response N/A N/A client login username N/A user username password password N/A N/A N/A self assertTrue response N/A N/A N/A client get N/A /test-experiment/%s N/A experiment name N/A N/A N/A self call_goal client N/A goal_type name N/A N/A N/A self assertEquals 2 N/A N/A N/A N/A N/A GoalRecord objects filter goal_type goal_type count N/A N/A