Skip to content

Commit

Permalink
Add test capturing expectation that it should be possible to limit to…
Browse files Browse the repository at this point in the history
… recommended backends. Ref #423.
  • Loading branch information
jaraco committed Apr 30, 2020
1 parent e1e476f commit bf3f81f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_core.py
@@ -0,0 +1,9 @@
import keyring.core


def test_init_recommended(monkeypatch):
"""
Test filtering of backends to recommended ones (#117, #423).
"""
monkeypatch.setattr(keyring.core, 'set_keyring', lambda kr: None)
keyring.core.init_backend(keyring.core.recommended)

0 comments on commit bf3f81f

Please sign in to comment.