feat: update Makefile and README for new linting and testing commands; refactor credential storage to JSON format

This commit is contained in:
Felix Rudat
2026-02-10 08:39:41 +01:00
parent e158946211
commit 082de3d5ea
6 changed files with 100 additions and 58 deletions
+1 -4
View File
@@ -66,10 +66,7 @@ class TestLoginLogout:
def test_logout_without_credentials(self, tmp_path, monkeypatch):
"""Logout without stored credentials should be graceful."""
# Point ENV_PATH to a temp location
import scripts.planka_cli as cli_module
monkeypatch.setattr(cli_module, "ENV_PATH", tmp_path / ".env")
monkeypatch.setenv("PLANKATOKENS", str(tmp_path))
result = runner.invoke(app, ["logout"])
assert result.exit_code == 0
assert "No stored credentials" in result.output