Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If CompareEq NameLoad Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str NameLoad With Call NameLoad NameLoad NameStore body Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr BinOpAdd NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str attr BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str BinOpAdd AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMod Str Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str Assign NameStore Call NameLoad Call NameLoad NameLoad Str Str Str Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A os N/A hashlib N/A unittest django.core.files.base File django.core.files.uploadedfile InMemoryUploadedFile django.core.urlresolvers reverse onadata.apps.main.models MetaData onadata.apps.main.views show edit download_metadata download_media_data delete_metadata test_base TestBase TestFormMetadata N/A TestBase N/A setUp N/A N/A self N/A N/A N/A N/A N/A TestBase setUp self N/A N/A N/A self _create_user_and_login N/A N/A N/A self _publish_transportation_form_and_submit_instance N/A N/A self url N/A reverse show kwargs N/A username id_string N/A N/A self user username N/A N/A self xform id_string N/A N/A self edit_url N/A reverse edit kwargs N/A username id_string N/A N/A self user username N/A N/A self xform id_string N/A _add_metadata N/A N/A self data_type N/A doc N/A N/A N/A data_type media N/A N/A name screenshot.png N/A N/A name transportation.xls N/A path N/A N/A N/A os path join N/A self this_directory fixtures transportation name N/A N/A open path doc_file N/A N/A N/A self post_data N/A N/A N/A N/A self post_data N/A data_type doc_file N/A N/A N/A N/A self client post N/A self edit_url N/A self post_data N/A N/A data_type media N/A N/A N/A self doc N/A N/A N/A N/A N/A N/A MetaData objects filter data_type media reverse N/A 0 N/A N/A self doc_url N/A reverse download_media_data kwargs N/A username id_string data_id N/A N/A self user username N/A N/A self xform id_string N/A N/A self doc id N/A N/A N/A self doc N/A N/A N/A N/A N/A N/A MetaData objects all reverse N/A 0 N/A N/A self doc_url N/A reverse download_metadata kwargs N/A username id_string data_id N/A N/A self user username N/A N/A self xform id_string N/A N/A self doc id N/A name N/A test_adds_supporting_doc_on_submit N/A N/A self N/A N/A N/A count N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type supporting_doc N/A N/A N/A self _add_metadata N/A N/A N/A self assertEquals N/A count 1 N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type supporting_doc N/A test_adds_supporting_media_on_submit N/A N/A self N/A N/A N/A count N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type media N/A N/A N/A self _add_metadata data_type media N/A N/A N/A self assertEquals N/A count 1 N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type media N/A test_adds_mapbox_layer_on_submit N/A N/A self N/A N/A N/A count N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type mapbox_layer N/A N/A self post_data N/A N/A N/A N/A self post_data N/A map_name test_mapbox_layer N/A N/A N/A self post_data N/A link http://0.0.0.0:8080 N/A N/A N/A N/A self client post N/A self edit_url N/A self post_data N/A N/A N/A self assertEquals N/A count 1 N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type mapbox_layer N/A test_shows_supporting_doc_after_submit N/A N/A self N/A N/A N/A name N/A N/A self _add_metadata N/A response N/A N/A N/A self client get N/A self url N/A N/A N/A self assertContains response name N/A N/A N/A self xform shared True N/A N/A N/A N/A self xform save N/A response N/A N/A N/A self anon get N/A self url N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response name N/A test_shows_supporting_media_after_submit N/A N/A self N/A N/A N/A name N/A N/A self _add_metadata data_type media N/A response N/A N/A N/A self client get N/A self url N/A N/A N/A self assertContains response name N/A N/A N/A self xform shared True N/A N/A N/A N/A self xform save N/A response N/A N/A N/A self anon get N/A self url N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response name N/A N/A N/A unittest skip Is based on changed template test_shows_mapbox_layer_after_submit N/A N/A self N/A N/A N/A N/A self post_data N/A N/A N/A N/A self post_data N/A map_name test_mapbox_layer N/A N/A N/A self post_data N/A link http://0.0.0.0:8080 N/A response N/A N/A N/A self client post N/A self edit_url N/A self post_data N/A response N/A N/A N/A self client get N/A self url N/A N/A N/A self assertContains response test_mapbox_layer N/A N/A N/A self xform shared True N/A N/A N/A N/A self xform save N/A response N/A N/A N/A self anon get N/A self url N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response test_mapbox_layer N/A test_download_supporting_doc N/A N/A self N/A N/A N/A N/A N/A self _add_metadata N/A response N/A N/A N/A self client get N/A self doc_url N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A fileName ext N/A N/A N/A os path splitext N/A response N/A Content-Disposition N/A N/A N/A self assertEqual ext .xls N/A test_no_download_supporting_doc_for_anon N/A N/A self N/A N/A N/A N/A N/A self _add_metadata N/A response N/A N/A N/A self anon get N/A self doc_url N/A N/A N/A self assertEqual N/A response status_code 403 N/A test_download_supporting_media N/A N/A self N/A N/A N/A N/A N/A self _add_metadata data_type media N/A response N/A N/A N/A self client get N/A self doc_url N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A fileName ext N/A N/A N/A os path splitext N/A response N/A Content-Disposition N/A N/A N/A self assertEqual ext .png N/A test_shared_download_supporting_doc_for_anon N/A N/A self N/A N/A N/A N/A N/A self _add_metadata N/A N/A N/A self xform shared True N/A N/A N/A N/A self xform save N/A response N/A N/A N/A self anon get N/A self doc_url N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_shared_download_supporting_media_for_anon N/A N/A self N/A N/A N/A N/A N/A self _add_metadata data_type media N/A N/A N/A self xform shared True N/A N/A N/A N/A self xform save N/A response N/A N/A N/A self anon get N/A self doc_url N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_delete_supporting_doc N/A N/A self N/A N/A N/A count N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type supporting_doc count N/A N/A N/A self _add_metadata N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type supporting_doc count N/A count 1 N/A doc N/A N/A N/A N/A N/A N/A MetaData objects filter data_type supporting_doc reverse N/A 0 N/A N/A self delete_doc_url N/A reverse delete_metadata kwargs N/A username id_string data_id N/A N/A self user username N/A N/A self xform id_string N/A doc id N/A response N/A N/A N/A self client get N/A N/A self delete_doc_url ?del=true N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type supporting_doc count count N/A N/A N/A self assertEqual N/A response status_code 302 N/A test_delete_supporting_media N/A N/A self N/A N/A N/A count N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type media count N/A N/A N/A self _add_metadata data_type media N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type media count N/A count 1 N/A response N/A N/A N/A self client get N/A N/A self doc_url ?del=true N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type media count count N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self _add_metadata data_type media N/A response N/A N/A N/A self anon get N/A N/A self doc_url ?del=true N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A MetaData objects filter xform N/A self xform data_type media count N/A count 1 N/A N/A N/A self assertEqual N/A response status_code 403 N/A _add_mapbox_layer N/A N/A self N/A N/A N/A N/A self count N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type mapbox_layer N/A post_data N/A map_name link test_mapbox_layer http://0.0.0.0:8080 N/A response N/A N/A N/A self client post N/A self edit_url post_data N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertEqual N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type mapbox_layer N/A N/A self count 1 N/A test_delete_mapbox_layer N/A N/A self N/A N/A N/A N/A N/A self _add_mapbox_layer N/A doc N/A N/A N/A N/A N/A N/A MetaData objects filter data_type mapbox_layer reverse N/A 0 N/A N/A self delete_doc_url N/A reverse delete_metadata kwargs N/A username id_string data_id N/A N/A self user username N/A N/A self xform id_string N/A doc id N/A response N/A N/A N/A self client get N/A N/A self delete_doc_url ?map_name_del=true N/A N/A N/A self assertEqual N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type mapbox_layer N/A self count N/A N/A N/A self assertEqual N/A response status_code 302 N/A test_anon_delete_mapbox_layer N/A N/A self N/A N/A N/A N/A N/A self _add_mapbox_layer N/A doc N/A N/A N/A N/A N/A N/A MetaData objects filter data_type mapbox_layer reverse N/A 0 N/A N/A self delete_doc_url N/A reverse delete_metadata kwargs N/A username id_string data_id N/A N/A self user username N/A N/A self xform id_string N/A doc id N/A response N/A N/A N/A self anon get N/A N/A self delete_doc_url ?map_name_del=true N/A N/A N/A self assertEqual N/A len N/A N/A N/A MetaData objects filter xform N/A self xform data_type mapbox_layer N/A N/A self count 1 N/A N/A N/A self assertEqual N/A response status_code 302 N/A test_user_source_edit_updates N/A N/A self N/A N/A N/A desc Snooky N/A response N/A N/A N/A self client post N/A self edit_url N/A source desc HTTP_X_REQUESTED_WITH XMLHttpRequest N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A MetaData source N/A self xform data_value desc N/A test_upload_source_file N/A N/A self N/A N/A N/A N/A N/A self _add_metadata source N/A N/A N/A self assertNotEqual N/A N/A N/A MetaData source N/A self xform data_file None N/A test_upload_source_file_set_value_to_name N/A N/A self N/A N/A N/A name N/A N/A self _add_metadata source N/A N/A N/A self assertEqual N/A N/A N/A MetaData source N/A self xform data_value name N/A test_upload_source_file_keep_name N/A N/A self N/A N/A N/A desc Snooky N/A response N/A N/A N/A self client post N/A self edit_url N/A source desc HTTP_X_REQUESTED_WITH XMLHttpRequest N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self _add_metadata source N/A N/A N/A self assertNotEqual N/A N/A N/A MetaData source N/A self xform data_file None N/A N/A N/A self assertEqual N/A N/A N/A MetaData source N/A self xform data_value desc N/A test_media_file_hash N/A N/A self N/A N/A N/A name screenshot.png N/A media_file N/A N/A N/A os path join N/A self this_directory fixtures transportation name N/A m N/A N/A N/A MetaData objects create data_type media xform N/A self xform data_value name data_file N/A File N/A open media_file name data_file_type image/png N/A f N/A open media_file N/A media_hash N/A md5:%s N/A N/A N/A N/A hashlib md5 N/A N/A f read hexdigest N/A N/A N/A f close N/A meta_hash N/A m hash N/A N/A N/A self assertEqual meta_hash media_hash N/A N/A N/A self assertEqual N/A m file_hash media_hash N/A test_add_media_url N/A N/A self N/A N/A N/A uri https://devtrac.ona.io/fieldtrips.csv N/A count N/A N/A N/A N/A N/A MetaData objects filter data_type media count N/A N/A N/A N/A self client post N/A self edit_url N/A media_url uri N/A N/A N/A self assertEquals N/A count 1 N/A len N/A N/A N/A MetaData objects filter data_type media N/A test_windows_csv_file_upload N/A N/A self N/A N/A N/A count N/A N/A N/A N/A N/A MetaData objects filter data_type media count N/A media_file N/A N/A N/A os path join N/A self this_directory fixtures transportation transportation.csv N/A f N/A InMemoryUploadedFile N/A open media_file media transportation.csv application/octet-stream 2625 None N/A N/A N/A MetaData media_upload N/A self xform f N/A media_list N/A N/A N/A MetaData objects filter data_type media N/A new_count N/A N/A media_list count N/A N/A N/A self assertEqual N/A count 1 new_count N/A media N/A N/A media_list get data_value transportation.csv N/A N/A N/A self assertEqual N/A media data_file_type text/csv N/A N/A