mirror of https://github.com/apache/superset.git
test: suppress unnecessary fab and sqla logs (#20870)
This commit is contained in:
parent
e1094e2198
commit
6e6d4e3169
|
@ -15,6 +15,7 @@
|
|||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
# type: ignore
|
||||
import logging
|
||||
import math
|
||||
from copy import copy
|
||||
from datetime import timedelta
|
||||
|
@ -24,6 +25,12 @@ from tests.integration_tests.superset_test_custom_template_processors import (
|
|||
CustomPrestoTemplateProcessor,
|
||||
)
|
||||
|
||||
logging.getLogger("flask_appbuilder.baseviews").setLevel(logging.WARNING)
|
||||
logging.getLogger("flask_appbuilder.base").setLevel(logging.WARNING)
|
||||
logging.getLogger("flask_appbuilder.api").setLevel(logging.WARNING)
|
||||
logging.getLogger("flask_appbuilder.security.sqla.manager").setLevel(logging.WARNING)
|
||||
logging.getLogger("sqlalchemy.engine.Engine").setLevel(logging.WARNING)
|
||||
|
||||
AUTH_USER_REGISTRATION_ROLE = "alpha"
|
||||
SQLALCHEMY_DATABASE_URI = "sqlite:///" + os.path.join(
|
||||
DATA_DIR, "unittests.integration_tests.db"
|
||||
|
|
Loading…
Reference in New Issue