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

8 lines
170 B
Python
Raw Normal View History

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