Module Expr Str Import alias alias alias alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Dict Str Str Index Num attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Dict Str Str Index Num attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword Dict Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword Dict Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
    Before test, you should run GAE local server, and clear datastore, text search,
     and update url in function TestVictoryFunctions.setUp().
    --clear_datastore=yes --clear_search_indexes=yes

    unittest:
        $ cd Victory
        $ python tests
 N/A unittest json re random N/A requests bs4 BeautifulSoup TestVictoryFunctions N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self url http://localhost:8080 N/A N/A self email kelp@phate.org N/A N/A self cookies N/A dev_appserver_login kelp@phate.org:True:111325016121394242422 N/A N/A self application_name Application-X N/A test_404_page N/A N/A self N/A N/A N/A 
        test 404 page
         N/A r N/A N/A requests get N/A %s/aaa N/A self url allow_redirects False N/A N/A N/A self assertEqual N/A r status_code 404 N/A soup N/A BeautifulSoup N/A r content N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A soup findAll div N/A class status N/A 0 contents N/A 0 404 N/A test_405_page N/A N/A self N/A N/A N/A 
        test 405 page
         N/A r N/A N/A requests post N/A %s/login N/A self url allow_redirects False N/A N/A N/A self assertEqual N/A r status_code 405 N/A soup N/A BeautifulSoup N/A r content N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A soup findAll div N/A class status N/A 0 contents N/A 0 405 N/A test_redirect_login_page N/A N/A self N/A N/A N/A 
        test redirect to login page when the user does not sign in.
         N/A r N/A N/A requests get N/A self url allow_redirects False N/A N/A N/A self assertEqual N/A r status_code 302 N/A N/A N/A self assertRegexpMatches N/A N/A r headers N/A location N/A %s/login.* N/A self url N/A test_login_page N/A N/A self N/A N/A N/A 
        test sign in page.
         N/A r N/A N/A requests get N/A self url N/A N/A N/A self assertEqual N/A r status_code 200 N/A soup N/A BeautifulSoup N/A r content N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A soup findAll legend N/A 0 contents N/A 0 Sign In N/A test_settings_profile_page N/A N/A self N/A N/A N/A 
        test settings/profile.
         N/A r N/A N/A requests put N/A %s/settings/profile N/A self url cookies N/A self cookies data N/A name Kelp N/A N/A N/A self assertEqual N/A r status_code 200 N/A result N/A N/A json loads N/A r content N/A N/A N/A self assertTrue N/A result N/A success N/A r N/A N/A requests get N/A %s/settings/profile N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A soup N/A BeautifulSoup N/A r content N/A N/A N/A self assertEqual N/A len N/A N/A soup findAll input N/A name value name Kelp 1 N/A N/A N/A self assertEqual N/A len N/A N/A soup findAll input N/A name value account kelp@phate.org 1 N/A test_00_settings_users N/A N/A self N/A N/A N/A 
        test settings/users
         N/A r N/A N/A requests post N/A %s/settings/users N/A self url cookies N/A self cookies data N/A email user@phate.org N/A N/A N/A self assertEqual N/A r status_code 200 N/A r N/A N/A requests get N/A %s/settings/users N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A N/A N/A self assertRegexpMatches N/A r content .*<td>user@phate.org</td>.* N/A user_id N/A N/A N/A N/A re search .*<a href="/settings/users/(\d+)#" class="delete_user"> N/A r content group 1 N/A r N/A N/A requests delete N/A %s/settings/users/%s N/A N/A self url user_id cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A test_01_settings_applications_add N/A N/A self N/A N/A N/A 
        add an application for test
         N/A r N/A N/A requests post N/A %s/settings/applications N/A self url cookies N/A self cookies data N/A name description N/A self application_name N/A N/A N/A self assertEqual N/A r status_code 200 N/A test_02_add_exception_document N/A N/A self N/A N/A N/A 
        add an exception document
         N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A application_key N/A N/A N/A N/A re search <td>Key</td>.*<td>(.*)</td> N/A r content group 1 N/A application_id N/A N/A N/A N/A re search <form id="application(\d+)" N/A r content group 1 N/A title N/A handled exception %f N/A N/A random random N/A r N/A N/A requests post N/A %s/api/v1/exception/%s N/A N/A self url application_key data N/A name title description email version device os_version access_token method url parameters status Kelp title log description name@gmail.com 1.0 (1.0.012) iPhone5,1 6.1 oauth access token method of http request http://victory-demo.appspot.com parameters of http request 500 N/A N/A N/A self assertEqual N/A r status_code 200 N/A result N/A N/A json loads N/A r content N/A N/A N/A self assertTrue N/A result N/A success N/A r N/A N/A requests get N/A %s/exception_groups N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A group_tag N/A N/A N/A N/A re search <tr href="#document_(.+)"  N/A r content group 1 N/A r N/A N/A requests get N/A %s/exception_groups/%s/%s N/A N/A self url application_id group_tag cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A N/A N/A self assertRegexpMatches N/A r content <tr><td>Email</td><td>name@gmail.com</td></tr> N/A test_03_add_log_document N/A N/A self N/A N/A N/A 
        add a log document
         N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A application_key N/A N/A N/A N/A re search <td>Key</td>.*<td>(.*)</td> N/A r content group 1 N/A application_id N/A N/A N/A N/A re search <form id="application(\d+)" N/A r content group 1 N/A title N/A log %f N/A N/A random random N/A r N/A N/A requests post N/A %s/api/v1/log/%s N/A N/A self url application_key data N/A name title description email version device os_version access_token method url parameters status Kelp title log description name@gmail.com 1.0 (1.0.012) iPhone5,1 6.1 oauth access token method of http request http://victory-demo.appspot.com parameters of http request 500 N/A N/A N/A self assertEqual N/A r status_code 200 N/A result N/A N/A json loads N/A r content N/A N/A N/A self assertTrue N/A result N/A success N/A r N/A N/A requests get N/A %s/log_groups N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A group_tag N/A N/A N/A N/A re search <tr href="#document_(.+)"  N/A r content group 1 N/A r N/A N/A requests get N/A %s/log_groups/%s/%s N/A N/A self url application_id group_tag cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A N/A N/A self assertRegexpMatches N/A r content <tr><td>Email</td><td>name@gmail.com</td></tr> N/A test_04_add_crash_document N/A N/A self N/A N/A N/A 
        add a crash document
         N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A application_key N/A N/A N/A N/A re search <td>Key</td>.*<td>(.*)</td> N/A r content group 1 N/A f N/A open ./tests/CrashTester-CrashReport.json r N/A r N/A N/A requests post N/A %s/api/v1/crash/%s N/A N/A self url application_key files N/A reports f N/A N/A N/A f close N/A N/A N/A self assertEqual N/A r status_code 200 N/A result N/A N/A json loads N/A r content N/A N/A N/A self assertTrue N/A result N/A success N/A r N/A N/A requests get N/A %s/crash_groups N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A crash_detail_uri N/A N/A N/A N/A re search href="(/crash_groups/\d+/.+)"  N/A r content group 1 N/A r N/A N/A requests get N/A %s%s N/A N/A self url crash_detail_uri cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A N/A N/A self assertRegexpMatches N/A r content user@gmail.com N/A test_05_settings_application_update N/A N/A self N/A N/A N/A 
        update the application
         N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A application_id N/A N/A N/A N/A re search <form id="application(\d+)" N/A r content group 1 N/A r N/A N/A requests put N/A %s/settings/applications/%s N/A N/A self url application_id cookies N/A self cookies data N/A name description N/A self application_name description N/A N/A N/A self assertEqual N/A r status_code 200 N/A r N/A N/A requests put N/A %s/settings/applications/aaa N/A self url cookies N/A self cookies data N/A name description N/A self application_name description N/A N/A N/A self assertEqual N/A r status_code 400 N/A r N/A N/A requests put N/A %s/settings/applications/%s N/A N/A self url application_id cookies N/A self cookies data N/A description description N/A N/A N/A self assertEqual N/A r status_code 417 N/A test_06_settings_application_invite N/A N/A self N/A N/A N/A 
        POST: /settings/applications/<application_id>/invite

        invite user join the application
         N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A application_id N/A N/A N/A N/A re search <form id="application(\d+)" N/A r content group 1 N/A r N/A N/A requests post N/A %s/settings/applications/%s/invite N/A N/A self url application_id cookies N/A self cookies data N/A email invite@phate.org N/A N/A N/A self assertEqual N/A r status_code 200 N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A uri N/A N/A N/A N/A re search <a href="(/settings/applications/\d+/members/\d+)#" class="delete_viewer"  N/A r content group 1 N/A r N/A N/A requests delete N/A %s%s N/A N/A self url uri cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A r N/A N/A requests get N/A %s/settings/users N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A N/A N/A self assertRegexpMatches N/A r content .*<td>invite@phate.org</td>.* N/A user_id N/A N/A N/A N/A re search .*<a href="/settings/users/(\d+)#" class="delete_user"> N/A r content group 1 N/A r N/A N/A requests delete N/A %s/settings/users/%s N/A N/A self url user_id cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A test_07_settings_application_delete N/A N/A self N/A N/A N/A 
        delete the test application
         N/A r N/A N/A requests get N/A %s/settings/applications N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A application_id N/A N/A N/A N/A re search <form id="application(\d+)" N/A r content group 1 N/A r N/A N/A requests delete N/A %s/settings/applications/aa N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 400 N/A r N/A N/A requests delete N/A %s/settings/applications/11111 N/A self url cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 417 N/A r N/A N/A requests delete N/A %s/settings/applications/%s N/A N/A self url application_id cookies N/A self cookies N/A N/A N/A self assertEqual N/A r status_code 200 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main