libsecret/library/tests/mock-service-only-plain.py

7 lines
139 B
Python
Raw Normal View History

#!/usr/bin/env python
import mock
service = mock.SecretService()
service.algorithms = { "plain": mock.PlainAlgorithm() }
service.listen()