diff --git a/backend/app/__init__.py b/backend/app/__init__.py index b333d46..a566a62 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -10,7 +10,6 @@ from .config import get_config from .frontend import frontend_bp from .services.credential_crypto import CredentialCrypto - _CREDENTIAL_KEY_PATH = Path("/images/secrets/credential_key.b64") diff --git a/tests/test_credential_crypto.py b/tests/test_credential_crypto.py index 5604ac3..199b838 100644 --- a/tests/test_credential_crypto.py +++ b/tests/test_credential_crypto.py @@ -9,13 +9,12 @@ from backend.app.services.credential_crypto import ( InvalidCredentialBlob, ) - pytestmark = pytest.mark.integration def test_load_or_create_writes_key_with_mode_0600(tmp_path): key_path = tmp_path / "secrets" / "credential_key.b64" - crypto = CredentialCrypto(key_path) + CredentialCrypto(key_path) assert key_path.exists() mode = stat.S_IMODE(os.stat(key_path).st_mode) assert mode == 0o600