mirror of
https://github.com/apache/superset.git
synced 2026-05-22 08:15:36 +00:00
1 line
11 KiB
JSON
1 line
11 KiB
JSON
{".class": "MypyFile", "_fullname": "tests.dashboard_tests", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Dashboard": {".class": "SymbolTableNode", "cross_ref": "superset.models.dashboard.Dashboard", "kind": "Gdef"}, "DashboardTests": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["tests.base_tests.SupersetTestCase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "tests.dashboard_tests.DashboardTests", "name": "DashboardTests", "type_vars": []}, "flags": ["fallback_to_any"], "fullname": "tests.dashboard_tests.DashboardTests", "metaclass_type": null, "metadata": {}, "module_name": "tests.dashboard_tests", "mro": ["tests.dashboard_tests.DashboardTests", "tests.base_tests.SupersetTestCase", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.__init__", "name": "__init__", "type": null}}, "get_mock_positions": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "dash"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.get_mock_positions", "name": "get_mock_positions", "type": null}}, "setUp": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.setUp", "name": "setUp", "type": null}}, "setUpClass": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["cls"], "flags": ["is_class", "is_decorated"], "fullname": "tests.dashboard_tests.DashboardTests.setUpClass", "name": "setUpClass", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod", "is_ready"], "fullname": null, "name": "setUpClass", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["cls"], "arg_types": [{".class": "TypeType", "item": "tests.dashboard_tests.DashboardTests"}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "setUpClass of DashboardTests", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "tearDown": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.tearDown", "name": "tearDown", "type": null}}, "test_add_slices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_add_slices", "name": "test_add_slices", "type": null}}, "test_copy_dash": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_copy_dash", "name": "test_copy_dash", "type": null}}, "test_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_dashboard", "name": "test_dashboard", "type": null}}, "test_dashboard_modes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_dashboard_modes", "name": "test_dashboard_modes", "type": null}}, "test_dashboard_with_created_by_can_be_accessed_by_public_users": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_dashboard_with_created_by_can_be_accessed_by_public_users", "name": "test_dashboard_with_created_by_can_be_accessed_by_public_users", "type": null}}, "test_new_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_new_dashboard", "name": "test_new_dashboard", "type": null}}, "test_only_owners_can_save": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_only_owners_can_save", "name": "test_only_owners_can_save", "type": null}}, "test_owners_can_view_empty_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_owners_can_view_empty_dashboard", "name": "test_owners_can_view_empty_dashboard", "type": null}}, "test_public_user_dashboard_access": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_public_user_dashboard_access", "name": "test_public_user_dashboard_access", "type": null}}, "test_remove_slices": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_remove_slices", "name": "test_remove_slices", "type": null}}, "test_save_dash": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_save_dash", "name": "test_save_dash", "type": null}}, "test_save_dash_with_colors": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_save_dash_with_colors", "name": "test_save_dash_with_colors", "type": null}}, "test_save_dash_with_dashboard_title": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_save_dash_with_dashboard_title", "name": "test_save_dash_with_dashboard_title", "type": null}}, "test_save_dash_with_filter": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_save_dash_with_filter", "name": "test_save_dash_with_filter", "type": null}}, "test_save_dash_with_invalid_filters": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_save_dash_with_invalid_filters", "name": "test_save_dash_with_invalid_filters", "type": null}}, "test_set_dash_metadata": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "username"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_set_dash_metadata", "name": "test_set_dash_metadata", "type": null}}, "test_user_can_not_view_unpublished_dash": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_user_can_not_view_unpublished_dash", "name": "test_user_can_not_view_unpublished_dash", "type": null}}, "test_users_can_view_favorited_dashboards": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_users_can_view_favorited_dashboards", "name": "test_users_can_view_favorited_dashboards", "type": null}}, "test_users_can_view_own_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_users_can_view_own_dashboard", "name": "test_users_can_view_own_dashboard", "type": null}}, "test_users_can_view_published_dashboard": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "tests.dashboard_tests.DashboardTests.test_users_can_view_published_dashboard", "name": "test_users_can_view_published_dashboard", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef"}, "Slice": {".class": "SymbolTableNode", "cross_ref": "superset.models.slice.Slice", "kind": "Gdef"}, "SqlaTable": {".class": "SymbolTableNode", "cross_ref": "superset.connectors.sqla.models.SqlaTable", "kind": "Gdef"}, "SupersetTestCase": {".class": "SymbolTableNode", "cross_ref": "tests.base_tests.SupersetTestCase", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboard_tests.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboard_tests.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboard_tests.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "tests.dashboard_tests.__package__", "name": "__package__", "type": "builtins.str"}}, "copy": {".class": "SymbolTableNode", "cross_ref": "copy", "kind": "Gdef"}, "db": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.db", "kind": "Gdef"}, "escape": {".class": "SymbolTableNode", "cross_ref": "markupsafe._native.escape", "kind": "Gdef"}, "func": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "tests.dashboard_tests.func", "name": "func", "type": {".class": "AnyType", "missing_import_name": "tests.dashboard_tests.func", "source_any": null, "type_of_any": 3}}}, "json": {".class": "SymbolTableNode", "cross_ref": "json", "kind": "Gdef"}, "models": {".class": "SymbolTableNode", "cross_ref": "superset.models.core", "kind": "Gdef"}, "random": {".class": "SymbolTableNode", "cross_ref": "random.random", "kind": "Gdef"}, "security_manager": {".class": "SymbolTableNode", "cross_ref": "superset.extensions.security_manager", "kind": "Gdef"}, "tests": {".class": "SymbolTableNode", "cross_ref": "tests", "kind": "Gdef"}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef"}, "views": {".class": "SymbolTableNode", "cross_ref": "superset.views.core", "kind": "Gdef"}}, "path": "tests/dashboard_tests.py"} |