Module Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str Str NameLoad ListLoad Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Num Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str Str ListLoad Dict Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad Str Num Num NameLoad Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str Str ListLoad Dict Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad Str Num Num NameLoad Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str NameLoad Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str NameLoad Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str NameLoad Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str Str ListLoad Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Str Str ListLoad Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Expr Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Num With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Dict Str Str Str Dict Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str ListLoad Dict Str Str Str Str Str Num Num NameLoad Num Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Num Num NameLoad Num Num Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Str ListLoad Dict Str Str Str Str Str Num Num NameLoad Num Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Num Num NameLoad Num Num Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num NameLoad decorator_list decorator_list
N/A N/A json N/A mock N/A unittest nose.tools eq_ ok_ constants CONST test_base TestCase pywechat.services.basic Basic pywechat.services.wechat_shake ShakeService ShakeServiceTest N/A TestCase N/A N/A Creates a TestCase for Shake Service. setUp N/A N/A self N/A N/A N/A N/A N/A TestCase setUp self N/A N/A N/A N/A mock patch object Basic access_token autospec True N/A N/A N/A self shake_service N/A N/A N/A self service init_service Shake N/A test_apply_devices N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object ShakeService apply_devices mock_method N/A N/A apply_id N/A CONST NUMBER N/A device_id N/A CONST NUMBER N/A uuid N/A CONST STRING N/A major N/A CONST NUMBER N/A minor N/A CONST NUMBER N/A N/A mock_method return_value N/A data errcode errmsg N/A apply_id device_identifiers apply_id N/A N/A device_id uuid major minor device_id uuid major minor 0 success. N/A apply_reason N/A CONST STRING N/A comment N/A CONST STRING N/A data N/A N/A N/A self shake_service apply_devices 1 apply_reason comment N/A N/A eq_ N/A N/A data N/A data N/A apply_id apply_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A device_identifiers N/A 0 N/A device_id device_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A device_identifiers N/A 0 N/A uuid uuid N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A device_identifiers N/A 0 N/A major major N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A device_identifiers N/A 0 N/A minor minor N/A test_update_device N/A N/A self N/A N/A N/A comment N/A CONST STRING N/A device_id N/A CONST NUMBER N/A uuid N/A CONST NUMBER N/A major N/A CONST NUMBER N/A minor N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService update_device mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A 0 success. N/A data N/A N/A N/A self shake_service update_device comment device_id N/A N/A N/A self assertIsNotNone data N/A data N/A N/A N/A self shake_service update_device comment uuid uuid major major minor minor N/A N/A N/A self assertIsNotNone data N/A test_bind_location N/A N/A self N/A N/A N/A poi_id N/A CONST NUMBER N/A device_id N/A CONST NUMBER N/A uuid N/A CONST NUMBER N/A major N/A CONST NUMBER N/A minor N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService bind_location mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A 0 success. N/A data N/A N/A N/A self shake_service bind_location poi_id device_id N/A N/A N/A self assertIsNotNone data N/A data N/A N/A N/A self shake_service bind_location poi_id uuid uuid major major minor minor N/A N/A N/A self assertIsNotNone data N/A test_search_device N/A N/A self N/A N/A N/A device_id N/A CONST NUMBER N/A uuid N/A CONST NUMBER N/A major N/A CONST NUMBER N/A minor N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService search_device mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A devices total_count N/A N/A comment device_id major minor page_ids status poi_id uuid device_id major minor 15369 1 0 uuid 1 0 success. N/A data N/A N/A N/A self shake_service search_device device_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A device_id device_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A uuid uuid N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A major major N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A minor minor N/A data N/A N/A N/A self shake_service search_device uuid uuid major major minor minor N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A device_id device_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A uuid uuid N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A major major N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A minor minor N/A test_search_devices N/A N/A self N/A N/A N/A apply_id N/A CONST NUMBER N/A device_id N/A CONST NUMBER N/A uuid N/A CONST NUMBER N/A major N/A CONST NUMBER N/A minor N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService search_devices mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A devices total_count N/A N/A comment device_id major minor page_ids status poi_id uuid device_id major minor 15369 1 0 uuid 1 0 success. N/A data N/A N/A N/A self shake_service search_devices 0 1 apply_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A device_id device_id N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A uuid uuid N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A major major N/A N/A eq_ N/A N/A N/A N/A data N/A data N/A devices N/A 0 N/A minor minor N/A N/A eq_ N/A N/A data N/A data N/A total_count 1 N/A test_upload_material N/A N/A self N/A N/A N/A image N/A CONST STRING N/A pic_url N/A CONST STRING N/A N/A N/A N/A mock patch object ShakeService upload_material mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A pic_url pic_url 0 success. N/A data N/A N/A N/A self shake_service upload_material image N/A N/A eq_ N/A N/A data N/A data N/A pic_url pic_url N/A test_add_page N/A N/A self N/A N/A N/A title N/A CONST STRING N/A description N/A CONST STRING N/A page_url N/A CONST STRING N/A icon_url N/A CONST STRING N/A comment N/A CONST STRING N/A page_id N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService add_page mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A page_id page_id 0 success. N/A data N/A N/A N/A self shake_service add_page title description page_url icon_url comment N/A N/A eq_ N/A N/A data N/A data N/A page_id page_id N/A test_update_page N/A N/A self N/A N/A N/A title N/A CONST STRING N/A description N/A CONST STRING N/A page_url N/A CONST STRING N/A icon_url N/A CONST STRING N/A comment N/A CONST STRING N/A page_id N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService update_page mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A page_id page_id 0 success. N/A data N/A N/A N/A self shake_service update_page page_id title description page_url icon_url comment N/A N/A eq_ N/A N/A data N/A data N/A page_id page_id N/A test_search_page_by_ids N/A N/A self N/A N/A N/A title N/A CONST STRING N/A description N/A CONST STRING N/A page_url N/A CONST STRING N/A icon_url N/A CONST STRING N/A comment N/A CONST STRING N/A page_id N/A CONST NUMBER N/A page_ids N/A page_id N/A N/A N/A N/A mock patch object ShakeService search_page_by_ids mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A pages total_count N/A N/A comment description icon_url page_id page_url title comment description icon_url page_id page_url title 1 0 success. N/A data N/A N/A N/A self shake_service search_page_by_ids page_ids N/A page_data N/A comment description icon_url page_id page_url title comment description icon_url page_id page_url title N/A N/A eq_ N/A N/A data N/A data N/A total_count 1 N/A N/A eq_ N/A N/A N/A data N/A data N/A pages N/A 0 page_data N/A test_search_page_by_counts N/A N/A self N/A N/A N/A title N/A CONST STRING N/A description N/A CONST STRING N/A page_url N/A CONST STRING N/A icon_url N/A CONST STRING N/A comment N/A CONST STRING N/A page_id N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService search_page_by_counts mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A pages total_count N/A N/A comment description icon_url page_id page_url title comment description icon_url page_id page_url title 1 0 success. N/A data N/A N/A N/A self shake_service search_page_by_counts 0 1 N/A page_data N/A comment description icon_url page_id page_url title comment description icon_url page_id page_url title N/A N/A eq_ N/A N/A data N/A data N/A total_count 1 N/A N/A eq_ N/A N/A N/A data N/A data N/A pages N/A 0 page_data N/A test_delete_page N/A N/A self N/A N/A N/A page_id N/A CONST NUMBER N/A page_ids N/A page_id N/A N/A N/A N/A mock patch object ShakeService delete_page mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A 0 success. N/A data N/A N/A N/A self shake_service delete_page page_ids N/A N/A N/A self assertIsNotNone data N/A test_bind_page N/A N/A self N/A N/A N/A page_id N/A CONST NUMBER N/A page_ids N/A page_id N/A bind 0 N/A append 0 N/A device_id N/A CONST NUMBER N/A uuid N/A CONST STRING N/A major N/A CONST STRING N/A minor N/A CONST STRING N/A N/A N/A N/A mock patch object ShakeService bind_location mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A 0 success. N/A data N/A N/A N/A self shake_service bind_location page_ids N/A N/A N/A self assertIsNotNone data N/A test_get_shake_info N/A N/A self N/A N/A N/A ticket N/A CONST NUMBER N/A need_poi 1 N/A N/A N/A N/A mock patch object ShakeService get_shake_info mock_method N/A N/A N/A mock_method return_value N/A data errcode errmsg N/A 0 success. N/A data N/A N/A N/A self shake_service get_shake_info ticket need_poi N/A N/A N/A self assertIsNotNone data N/A test_device_statistics N/A N/A self N/A N/A N/A begin_date N/A CONST STRING N/A end_date N/A CONST STRING N/A device_id N/A CONST NUMBER N/A uuid N/A CONST STRING N/A major N/A CONST STRING N/A minor N/A CONST STRING N/A N/A N/A N/A mock patch object ShakeService device_statistics mock_method N/A N/A ftime N/A CONST NUMBER N/A N/A mock_method return_value N/A data errcode errmsg N/A N/A click_pv click_uv ftime shake_pv shake_uv 0 0 ftime 0 0 0 success. N/A data N/A N/A N/A self shake_service device_statistics begin_date end_date device_id uuid major minor N/A statistics N/A click_pv click_uv ftime shake_pv shake_uv 0 0 ftime 0 0 N/A N/A eq_ N/A N/A data N/A data N/A 0 statistics N/A test_page_statistics N/A N/A self N/A N/A N/A begin_date N/A CONST STRING N/A end_date N/A CONST STRING N/A page_id N/A CONST NUMBER N/A N/A N/A N/A mock patch object ShakeService page_statistics mock_method N/A N/A ftime N/A CONST NUMBER N/A N/A mock_method return_value N/A data errcode errmsg N/A N/A click_pv click_uv ftime shake_pv shake_uv 0 0 ftime 0 0 0 success. N/A data N/A N/A N/A self shake_service page_statistics page_id begin_date end_date N/A statistics N/A click_pv click_uv ftime shake_pv shake_uv 0 0 ftime 0 0 N/A N/A eq_ N/A N/A data N/A data N/A 0 statistics N/A N/A