/usr/lib/python3/dist-packages/keyring/tests/backends/test_OS_X.py is in python3-keyring 10.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import sys
import unittest
from ..test_backend import BackendBasicTests
from keyring.backends import OS_X
def is_osx_keychain_supported():
return sys.platform in ('mac', 'darwin')
@unittest.skipUnless(is_osx_keychain_supported(),
"Need OS X")
class OSXKeychainTestCase(BackendBasicTests, unittest.TestCase):
def init_keyring(self):
return OS_X.Keyring()
|