Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr attr Index Str Num Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr attr Index Str Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Dict NameLoad Return NameLoad decorator_list
N/A N/A Test build_archive service method.
 N/A re viewfinder.backend.db.follower Follower viewfinder.backend.db.viewpoint Viewpoint viewfinder.backend.services.email_mgr TestEmailManager N/A __authors__ N/A mike@emailscrubbed.com (Mike Purtell) viewfinder.backend.www.test service_base_test BuildArchiveTestCase N/A N/A service_base_test ServiceBaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super BuildArchiveTestCase self setUp N/A testBuildArchive N/A N/A self N/A N/A N/A Test successful build_archive. N/A N/A self _validate False N/A N/A N/A self _CreateQueryAssets add_test_photos True N/A all_viewpoints N/A N/A N/A self _validator QueryModelObjects Viewpoint N/A vp_id_to_remove N/A N/A all_viewpoints N/A 1 viewpoint_id N/A N/A N/A self _UpdateOrAllocateDBObject Follower user_id N/A N/A self _user user_id viewpoint_id vp_id_to_remove labels N/A N/A N/A N/A N/A self _tester RemoveViewpoint N/A self _cookie vp_id_to_remove N/A follower N/A N/A self _RunAsync N/A Follower Query N/A self _client N/A N/A self _user user_id vp_id_to_remove None N/A N/A N/A self assertTrue N/A N/A follower IsRemoved N/A N/A N/A N/A self _tester BuildArchive N/A self _cookie N/A N/A N/A self assertEqual N/A len N/A N/A N/A N/A TestEmailManager Instance emails N/A user1@emailscrubbed.com 1 N/A email N/A N/A N/A N/A N/A TestEmailManager Instance emails N/A user1@emailscrubbed.com N/A 0 N/A url N/A N/A N/A N/A re search (?P<url>https?://[^\s]+) N/A email N/A text group url N/A N/A N/A self assertIsNotNone url N/A N/A _TestBuildArchive N/A N/A tester user_cookie N/A N/A N/A Called by the ServiceTester in order to test build_archive
  service API call.
   N/A N/A user_id device_id N/A N/A tester GetIdsFromCookie user_cookie N/A request_dict N/A email user1@emailscrubbed.com N/A actual_dict N/A N/A tester SendRequest build_archive user_cookie request_dict N/A N/A N/A tester _CompareResponseDicts build_archive user_id request_dict N/A actual_dict N/A actual_dict N/A