Skip to content

Commit 91b6a89

Browse files
committed
Set PYTHON_KEYRING_BACKEND for poetry within unit tests
1 parent cf0f69a commit 91b6a89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ help = "Check all files"
6666
[tool.poe.tasks.pytest]
6767
cmd = "pytest"
6868
help = "Run unit tests with pytest"
69+
env = { PYTHON_KEYRING_BACKEND = "keyring.backends.null.Keyring" }
6970

7071
[tool.poe.tasks.test]
7172
sequence = ["lint", "pytest"]

0 commit comments

Comments
 (0)