Files
superset2/.mypy_cache/3.6/tests/thumbnails_tests.data.json
Maxime Beauchemin 57bccba93a simple redirect
2023-08-10 16:28:51 -07:00

1 line
16 KiB
JSON

{".class": "MypyFile", "_fullname": "tests.thumbnails_tests", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "ChartScreenshot": {".class": "SymbolTableNode", "cross_ref": "superset.utils.screenshots.ChartScreenshot", "kind": "Gdef"}, "Dashboard": {".class": "SymbolTableNode", "cross_ref": "superset.models.dashboard.Dashboard", "kind": "Gdef"}, "DashboardScreenshot": {".class": "SymbolTableNode", "cross_ref": "superset.utils.screenshots.DashboardScreenshot", "kind": "Gdef"}, "LiveServerTestCase": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.thumbnails_tests.LiveServerTestCase", "name": "LiveServerTestCase", "type": {".class": "AnyType", "missing_import_name": "tests.thumbnails_tests.LiveServerTestCase", "source_any": null, "type_of_any": 3}}}, "Slice": {".class": "SymbolTableNode", "cross_ref": "superset.models.slice.Slice", "kind": "Gdef"}, "SupersetTestCase": {".class": "SymbolTableNode", "cross_ref": "tests.base_tests.SupersetTestCase", "kind": "Gdef"}, "ThumbnailsSeleniumLive": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.thumbnails_tests.ThumbnailsSeleniumLive", "name": "ThumbnailsSeleniumLive", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.thumbnails_tests.ThumbnailsSeleniumLive", "metaclass_type": null, "metadata": {}, "module_name": "tests.thumbnails_tests", "mro": ["tests.thumbnails_tests.ThumbnailsSeleniumLive", "builtins.object"], "names": {".class": "SymbolTable", "create_app": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.thumbnails_tests.ThumbnailsSeleniumLive.create_app", "name": "create_app", "type": null}}, "test_get_async_dashboard_screenshot": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsSeleniumLive.test_get_async_dashboard_screenshot", "name": "test_get_async_dashboard_screenshot", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_async_dashboard_screenshot", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsSeleniumLive"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_async_dashboard_screenshot of ThumbnailsSeleniumLive", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "url_open_auth": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "username", "url"], "flags": [], "fullname": "tests.thumbnails_tests.ThumbnailsSeleniumLive.url_open_auth", "name": "url_open_auth", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "username", "url"], "arg_types": ["tests.thumbnails_tests.ThumbnailsSeleniumLive", "builtins.str", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "url_open_auth of ThumbnailsSeleniumLive", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ThumbnailsTests": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.thumbnails_tests.ThumbnailsTests", "name": "ThumbnailsTests", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.thumbnails_tests.ThumbnailsTests", "metaclass_type": null, "metadata": {}, "module_name": "tests.thumbnails_tests", "mro": ["tests.thumbnails_tests.ThumbnailsTests", "tests.base_tests.SupersetTestCase", "builtins.object"], "names": {".class": "SymbolTable", "mock_image": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.mock_image", "name": "mock_image", "type": "builtins.bytes"}}, "test_chart_thumbnail_disabled": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_chart_thumbnail_disabled", "name": "test_chart_thumbnail_disabled", "type": null}}, "test_dashboard_thumbnail_disabled": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_dashboard_thumbnail_disabled", "name": "test_dashboard_thumbnail_disabled", "type": null}}, "test_get_async_chart_notfound": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_async_chart_notfound", "name": "test_get_async_chart_notfound", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_async_chart_notfound", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_async_chart_notfound of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_async_chart_screenshot": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_async_chart_screenshot", "name": "test_get_async_chart_screenshot", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_async_chart_screenshot", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_async_chart_screenshot of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_async_dashboard_not_allowed": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_async_dashboard_not_allowed", "name": "test_get_async_dashboard_not_allowed", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_async_dashboard_not_allowed", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_async_dashboard_not_allowed of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_async_dashboard_notfound": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_async_dashboard_notfound", "name": "test_get_async_dashboard_notfound", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_async_dashboard_notfound", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_async_dashboard_notfound of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_async_dashboard_screenshot": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_async_dashboard_screenshot", "name": "test_get_async_dashboard_screenshot", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_async_dashboard_screenshot", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_async_dashboard_screenshot of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_cached_chart_screenshot": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_cached_chart_screenshot", "name": "test_get_cached_chart_screenshot", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_cached_chart_screenshot", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_cached_chart_screenshot of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_cached_chart_wrong_digest": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_cached_chart_wrong_digest", "name": "test_get_cached_chart_wrong_digest", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_cached_chart_wrong_digest", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_cached_chart_wrong_digest of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_cached_dashboard_screenshot": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_cached_dashboard_screenshot", "name": "test_get_cached_dashboard_screenshot", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_cached_dashboard_screenshot", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_cached_dashboard_screenshot of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "test_get_cached_dashboard_wrong_digest": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "tests.thumbnails_tests.ThumbnailsTests.test_get_cached_dashboard_wrong_digest", "name": "test_get_cached_dashboard_wrong_digest", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "test_get_cached_dashboard_wrong_digest", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["tests.thumbnails_tests.ThumbnailsTests"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "test_get_cached_dashboard_wrong_digest of ThumbnailsTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.thumbnails_tests.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.thumbnails_tests.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.thumbnails_tests.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.thumbnails_tests.__package__", "name": "__package__", "type": "builtins.str"}}, "app": {".class": "SymbolTableNode", "cross_ref": "tests.test_app.app", "kind": "Gdef"}, "db": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.db", "kind": "Gdef"}, "func": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.thumbnails_tests.func", "name": "func", "type": {".class": "AnyType", "missing_import_name": "tests.thumbnails_tests.func", "source_any": null, "type_of_any": 3}}}, "get_auth_cookies": {".class": "SymbolTableNode", "cross_ref": "superset.utils.screenshots.get_auth_cookies", "kind": "Gdef"}, "is_feature_enabled": {".class": "SymbolTableNode", "cross_ref": "superset.is_feature_enabled", "kind": "Gdef"}, "patch": {".class": "SymbolTableNode", "cross_ref": "unittest.mock.patch", "kind": "Gdef"}, "security_manager": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.security_manager", "kind": "Gdef"}, "skipUnless": {".class": "SymbolTableNode", "cross_ref": "unittest.case.skipUnless", "kind": "Gdef"}, "subprocess": {".class": "SymbolTableNode", "cross_ref": "subprocess", "kind": "Gdef"}, "tests": {".class": "SymbolTableNode", "cross_ref": "tests", "kind": "Gdef"}, "thumbnail_cache": {".class": "SymbolTableNode", "cross_ref": "superset.thumbnail_cache", "kind": "Gdef"}, "urllib": {".class": "SymbolTableNode", "cross_ref": "urllib", "kind": "Gdef"}}, "path": "tests/thumbnails_tests.py"}