1
0

Removed unneeded noqa
All checks were successful
Python Ruff Code Quality / ruff (push) Successful in 24s
Run Python tests (through Pytest) / Test (push) Successful in 32s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 29s

This commit is contained in:
Jon Michael Aanes 2024-11-01 01:54:44 +01:00
parent 328f69cb6e
commit 784fb363d2
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -86,8 +86,8 @@ def test_lookup_unknown_or_fail():
def test_convert_process():
loader = secret_loader.SecretLoader()
assert loader._convert_pass_process_result_to_password(1, b'') is None # noqa: SLF001
assert loader._convert_pass_process_result_to_password(1, b'') is None
assert (
loader._convert_pass_process_result_to_password(0, b'Hello\nWorld') == 'Hello' # noqa: SLF001
loader._convert_pass_process_result_to_password(0, b'Hello\nWorld') == 'Hello'
)
assert loader._convert_pass_process_result_to_password(0, b'') == '' # noqa: SLF001
assert loader._convert_pass_process_result_to_password(0, b'') == ''