/usr/share/pyshared/ncrypt/test/test.py is in python-ncrypt 0.6.4-0ubuntu8.
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 18 19 | '''
Unified TestSuite for PyNcrypt
'''
import unittest
import ncrypt.test.testcipher
import ncrypt.test.testdigest
import ncrypt.test.testrand
import ncrypt.test.testrsa
class PyNCryptTestSuite(unittest.TestSuite):
test_modules = [ncrypt.test.testcipher,ncrypt.test.testdigest,
ncrypt.test.testrand,ncrypt.test.testrsa]
def __init__(self):
unittest.TestSuite.__init__(self)
self.addTests(map(unittest.defaultTestLoader.loadTestsFromModule,self.test_modules))
if __name__ == '__main__':
runner = unittest.TextTestRunner()
runner.run(PyNCryptTestSuite())
|