forked from Github-Mirrors/canaille
refactoring: removed useless imports
This commit is contained in:
parent
ab517f4fc0
commit
adec1acbaa
1 changed files with 0 additions and 4 deletions
|
@ -5,8 +5,6 @@ import pytest
|
||||||
import toml
|
import toml
|
||||||
from canaille import create_app
|
from canaille import create_app
|
||||||
from canaille.flaskutils import set_parameter_in_url_query
|
from canaille.flaskutils import set_parameter_in_url_query
|
||||||
from canaille.installation import setup_ldap_tree
|
|
||||||
from canaille.ldap_backend.backend import setup_ldap_models
|
|
||||||
from flask import g
|
from flask import g
|
||||||
from flask_webtest import TestApp
|
from flask_webtest import TestApp
|
||||||
|
|
||||||
|
@ -55,8 +53,6 @@ def test_logging_to_file(configuration, tmp_path, smtpd, admin, slapd_server):
|
||||||
**configuration,
|
**configuration,
|
||||||
"LOGGING": {"LEVEL": "DEBUG", "PATH": log_path},
|
"LOGGING": {"LEVEL": "DEBUG", "PATH": log_path},
|
||||||
}
|
}
|
||||||
setup_ldap_models(logging_configuration)
|
|
||||||
setup_ldap_tree(logging_configuration)
|
|
||||||
app = create_app(logging_configuration)
|
app = create_app(logging_configuration)
|
||||||
app.config["TESTING"] = True
|
app.config["TESTING"] = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue