Module Import alias Import alias ImportFrom alias alias alias identifier Import alias Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str ImportFrom alias FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str With Call AttributeLoad NameLoad attr NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Call NameLoad NameLoad Str Return Call NameLoad Num NameLoad NameLoad keyword NameLoad decorator_list Call NameLoad keyword Str ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad With Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Dict Assign NameStore Dict Str Str Str Str NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad ClassDef bases body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list decorator_list Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad NameLoad Str ImportFrom alias Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad NameLoad Str decorator_list decorator_list
N/A N/A gzip N/A httplib httmock urlmatch HTTMock response httmockresponse N/A os N/A N/A N/A os environ N/A GIRDER_PORT N/A N/A N/A os environ get GIRDER_TEST_PORT 20200 tests base setUpModule N/A N/A N/A N/A N/A 
    Enable the minerva plugin and start the server.
     N/A N/A N/A N/A base enabledPlugins append jobs N/A N/A N/A N/A base enabledPlugins append romanesco N/A N/A N/A N/A base enabledPlugins append gravatar N/A N/A N/A N/A base enabledPlugins append minerva N/A N/A N/A base startServer False N/A tearDownModule N/A N/A N/A N/A N/A 
    Stop the server.
     N/A N/A N/A base stopServer N/A wms_mock N/A N/A url request N/A N/A N/A pluginTestDir N/A N/A N/A os path dirname N/A N/A N/A os path realpath __file__ N/A filepath N/A N/A N/A os path join pluginTestDir data wms_capabilities.xml.gz N/A N/A N/A gzip open filepath rb bsve_search_file N/A N/A content N/A N/A bsve_search_file read N/A headers N/A content-length content-type N/A len content application/xml N/A N/A httmockresponse 200 content headers request request N/A N/A urlmatch netloc .* WmsTestCase N/A N/A base TestCase N/A N/A 
    Tests of the minerva source API endpoints.
     setUp N/A N/A self N/A N/A N/A 
        Set up the test case with  a user
         N/A N/A N/A N/A super WmsTestCase self setUp N/A N/A self _user N/A N/A N/A N/A self model user createUser minervauser password minerva user minervauser@example.com N/A testCreateWmsSourceAndDataset N/A N/A self N/A N/A N/A 
        Test the minerva WMS source and dataset API endpoints.
         N/A path /minerva_source_wms N/A name testWMS N/A typeName geonode:boxes_with_date N/A username N/A password N/A baseURL http://fake.geoserver.fak/geoserver/ows N/A params N/A name username password baseURL name username password baseURL N/A N/A HTTMock wms_mock N/A N/A response N/A N/A self request path path method POST params params user N/A self _user N/A N/A N/A self assertStatusOk response N/A wmsSource N/A response json N/A path /minerva_dataset_wms N/A name testWMSdataset N/A wmsParams N/A N/A params N/A name wmsSourceId typeName wmsParams name N/A wmsSource N/A _id typeName wmsParams MockResponse N/A N/A __init__ N/A N/A self N/A N/A N/A N/A read N/A N/A self N/A N/A N/A PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48U2VydmljZUV4Y2VwdGlvblJlcG9ydCB2ZXJzaW9uPSIxLjMuMCIgeG1sbnM9Imh0dHA6Ly93d3cub3Blbmdpcy5uZXQvb2djIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6c2NoZW1hTG9jYXRpb249Imh0dHA6Ly93d3cub3Blbmdpcy5uZXQvb2djIGh0dHA6Ly9kZW1vLmJvdW5kbGVzc2dlby5jb206ODAvZ2Vvc2VydmVyL3NjaGVtYXMvd21zLzEuMy4wL2V4Y2VwdGlvbnNfMV8zXzAueHNkIj4gICA8U2VydmljZUV4Y2VwdGlvbj4KICAgICAgQ2FuJmFwb3M7dCBvYnRhaW4gdGhlIHNjaGVtYSBmb3IgdGhlIHJlcXVpcmVkIGxheWVyLgpnZW9ub2RlOmdsb2JhbF90ZW1wIGxheWVyIGRvZXMgbm90IGV4aXN0Lgo8L1NlcnZpY2VFeGNlcHRpb24+PC9TZXJ2aWNlRXhjZXB0aW9uUmVwb3J0Pg==
 N/A N/A MockHTTPConnection N/A N/A __init__ N/A N/A self url N/A N/A N/A N/A self url url N/A request N/A N/A self method url headers N/A N/A N/A N/A getresponse N/A N/A self N/A N/A N/A N/A MockResponse N/A N/A N/A httpConn N/A httplib HTTPConnection N/A N/A httplib HTTPConnection MockHTTPConnection N/A response N/A N/A self request path path method POST params params user N/A self _user N/A wmsDataset N/A response json N/A minerva_metadata N/A N/A wmsDataset N/A meta N/A minerva N/A N/A N/A self assertEquals N/A wmsDataset N/A name name incorrect wms dataset name N/A N/A N/A self assertEquals N/A minerva_metadata N/A source_id N/A wmsSource N/A _id incorrect wms source_id N/A N/A N/A self assertEquals N/A minerva_metadata N/A dataset_type wms incorrect wms dataset type N/A N/A N/A self assertEquals N/A minerva_metadata N/A base_url N/A N/A N/A N/A wmsSource N/A meta N/A minerva N/A wms_params N/A base_url incorrect wms dataset baseURL N/A N/A N/A self assertEquals N/A minerva_metadata N/A type_name typeName incorrect wms dataset typeName N/A legend UEQ5NGJXd2dkbVZ5YzJsdmJqMGlNUzR3SWlCbGJtTnZaR2x1WnowaVZWUkdMVGdpUHo0OFUyVnlkbWxqWlVWNFkyVndkR2x2YmxKbGNHOXlkQ0IyWlhKemFXOXVQU0l4TGpNdU1DSWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3ViM0JsYm1kcGN5NXVaWFF2YjJkaklpQjRiV3h1Y3pwNGMyazlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURFdldFMU1VMk5vWlcxaExXbHVjM1JoYm1ObElpQjRjMms2YzJOb1pXMWhURzlqWVhScGIyNDlJbWgwZEhBNkx5OTNkM2N1YjNCbGJtZHBjeTV1WlhRdmIyZGpJR2gwZEhBNkx5OWtaVzF2TG1KdmRXNWtiR1Z6YzJkbGJ5NWpiMjA2T0RBdloyVnZjMlZ5ZG1WeUwzTmphR1Z0WVhNdmQyMXpMekV1TXk0d0wyVjRZMlZ3ZEdsdmJuTmZNVjh6WHpBdWVITmtJajRnSUNBOFUyVnlkbWxqWlVWNFkyVndkR2x2Ymo0S0lDQWdJQ0FnUTJGdUptRndiM003ZENCdlluUmhhVzRnZEdobElITmphR1Z0WVNCbWIzSWdkR2hsSUhKbGNYVnBjbVZrSUd4aGVXVnlMZ3BuWlc5dWIyUmxPbWRzYjJKaGJGOTBaVzF3SUd4aGVXVnlJR1J2WlhNZ2JtOTBJR1Y0YVhOMExnbzhMMU5sY25acFkyVkZlR05sY0hScGIyNCtQQzlUWlhKMmFXTmxSWGhqWlhCMGFXOXVVbVZ3YjNKMFBnPT0K N/A N/A N/A self assertEquals N/A N/A N/A minerva_metadata N/A legend strip legend incorrect wms dataset legend N/A N/A httplib HTTPConnection httpConn N/A testCreateWmsSourceWithAuthentication N/A N/A self N/A N/A N/A 
        Enter a username and password for a WMS source and ensure that they
        are correctly encrypted/decrypted.
         N/A path /minerva_source_wms N/A name testWMSAuth N/A username admin N/A password admin N/A baseURL http://demo.geonode.org/geoserver/wms N/A params N/A name username password baseURL name username password baseURL N/A response N/A N/A self request path path method POST params params user N/A self _user N/A N/A N/A self assertStatusOk response N/A wmsSource N/A response json N/A credentials N/A N/A N/A N/A wmsSource N/A meta N/A minerva N/A wms_params N/A credentials N/A N/A N/A self assertNotEqual credentials N/A N/A {}:{} format username password Credentials were not encrypted! girder.plugins.minerva.utility.minerva_utility decryptCredentials N/A decrypted N/A decryptCredentials N/A bytes credentials N/A N/A N/A self assertEquals decrypted N/A N/A {}:{} format username password Credentials could not be correctly decrypted N/A N/A