mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor (#31590)
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com> Co-authored-by: Diego Pucci <diegopucci.me@gmail.com> Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com> Co-authored-by: Damian Pendrak <dpendrak@gmail.com> Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com> Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2cc1ef88c8
commit
dd129fa403
@@ -109,19 +109,6 @@ class TestCore(SupersetTestCase):
|
||||
db.session.delete(dashboard)
|
||||
db.session.commit()
|
||||
|
||||
def test_login(self):
|
||||
resp = self.get_resp("/login/", data=dict(username="admin", password="general")) # noqa: S106, C408
|
||||
assert "User confirmation needed" not in resp
|
||||
|
||||
resp = self.get_resp("/logout/", follow_redirects=True)
|
||||
assert "User confirmation needed" in resp
|
||||
|
||||
resp = self.get_resp(
|
||||
"/login/",
|
||||
data=dict(username="admin", password="wrongPassword"), # noqa: S106, C408
|
||||
)
|
||||
assert "User confirmation needed" in resp
|
||||
|
||||
def test_dashboard_endpoint(self):
|
||||
self.login(ADMIN_USERNAME)
|
||||
resp = self.client.get("/superset/dashboard/-1/")
|
||||
|
||||
@@ -1553,6 +1553,9 @@ class TestRolePermission(SupersetTestCase):
|
||||
["SupersetIndexView", "index"],
|
||||
["SupersetIndexView", "patch_flask_locale"],
|
||||
["DatabaseRestApi", "oauth2"],
|
||||
["SupersetAuthView", "login"],
|
||||
["SupersetAuthView", "logout"],
|
||||
["SupersetRegisterUserView", "register"],
|
||||
]
|
||||
unsecured_views = []
|
||||
for view_class in appbuilder.baseviews:
|
||||
|
||||
Reference in New Issue
Block a user