Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A huxley.accounts.exceptions PasswordChangeFailed huxley.accounts.models User huxley.api.tests UpdateAPITestCase huxley.utils.test TestUsers ChangePasswordTestCase N/A UpdateAPITestCase N/A N/A url_name api:user_password N/A is_resource False N/A params N/A password new_password old&busted newhotness setUp N/A N/A self N/A N/A N/A N/A self user N/A N/A TestUsers new_user username old&busted password old&busted N/A login N/A N/A self N/A N/A N/A N/A N/A N/A self client login username old&busted password old&busted N/A test_anonymous_user N/A N/A self N/A N/A N/A It should not allow anonymous users to change passwords. N/A response N/A N/A self get_response N/A N/A N/A self assertPermissionDenied response N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password old&busted N/A test_self N/A N/A self N/A N/A N/A Users should be able to change their passwords. N/A N/A N/A self login N/A response N/A N/A self get_response N/A N/A N/A self assertOK response N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password newhotness N/A test_missing_fields N/A N/A self N/A N/A N/A It should reject the request if there are missing fields. N/A N/A N/A self login N/A params N/A N/A self get_params new_password N/A response N/A N/A self get_response params params N/A N/A N/A self assertEqual N/A response data N/A detail N/A PasswordChangeFailed MISSING_FIELDS N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password old&busted N/A params N/A N/A self get_params password N/A response N/A N/A self get_response params params N/A N/A N/A self assertEqual N/A response data N/A detail N/A PasswordChangeFailed MISSING_FIELDS N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password old&busted N/A test_short_password N/A N/A self N/A N/A N/A It should reject the request if given a short password. N/A N/A N/A self login N/A params N/A N/A self get_params new_password a N/A response N/A N/A self get_response params params N/A N/A N/A self assertEqual N/A response data N/A detail N/A PasswordChangeFailed PASSWORD_TOO_SHORT N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password old&busted N/A test_invalid_password N/A N/A self N/A N/A N/A It should reject the request if given an invalid password. N/A N/A N/A self login N/A params N/A N/A self get_params new_password invalid>hotness N/A response N/A N/A self get_response params params N/A N/A N/A self assertEqual N/A response data N/A detail N/A PasswordChangeFailed INVALID_CHARACTERS N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password old&busted N/A test_incorrect_password N/A N/A self N/A N/A N/A It should reject the request if given an incorrect password. N/A N/A N/A self login N/A params N/A N/A self get_params password incorrect N/A response N/A N/A self get_response params params N/A N/A N/A self assertEqual N/A response data N/A detail N/A PasswordChangeFailed INCORRECT_PASSWORD N/A user N/A N/A N/A User objects get id N/A N/A self user id N/A N/A N/A self assertTrue N/A N/A user check_password old&busted N/A N/A