mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-24 00:59:35 -06:00
Cleans up config formatting
This commit is contained in:
@@ -39,3 +39,6 @@ max_line_length = off
|
|||||||
|
|
||||||
[Dockerfile*]
|
[Dockerfile*]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
|
[*.toml]
|
||||||
|
indent_style = space
|
||||||
|
|||||||
@@ -395,13 +395,3 @@ class TestDeprecatedDbSettings:
|
|||||||
|
|
||||||
assert len(result) == 1
|
assert len(result) == 1
|
||||||
assert "PAPERLESS_DBSSLCERT" in result[0].msg
|
assert "PAPERLESS_DBSSLCERT" in result[0].msg
|
||||||
|
|
||||||
def test_check_accepts_app_configs_argument(
|
|
||||||
self,
|
|
||||||
mocker: MockerFixture,
|
|
||||||
) -> None:
|
|
||||||
"""The check function accepts the app_configs argument Django passes."""
|
|
||||||
mocker.patch.dict(os.environ, {}, clear=True)
|
|
||||||
# Django passes app_configs as a list or None depending on invocation
|
|
||||||
assert check_deprecated_db_settings(None) == []
|
|
||||||
assert check_deprecated_db_settings([]) == []
|
|
||||||
|
|||||||
Reference in New Issue
Block a user