mirror of
https://github.com/apache/superset.git
synced 2026-04-23 01:55:09 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -21,7 +21,7 @@ from superset.extensions import db, security_manager
|
||||
from tests.integration_tests.test_app import app
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
@pytest.fixture
|
||||
def public_role_like_gamma(app_context: AppContext):
|
||||
app.config["PUBLIC_ROLE_LIKE"] = "Gamma"
|
||||
security_manager.sync_role_definitions()
|
||||
@@ -32,7 +32,7 @@ def public_role_like_gamma(app_context: AppContext):
|
||||
db.session.commit()
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
@pytest.fixture
|
||||
def public_role_like_test_role(app_context: AppContext):
|
||||
app.config["PUBLIC_ROLE_LIKE"] = "TestRole"
|
||||
security_manager.sync_role_definitions()
|
||||
|
||||
Reference in New Issue
Block a user