Debian Codegraph @

pypy/module/crypt/test/test_crypt.py

raw symbols SCIP
1 import os
2 import py
3
4 if os.name != 'posix':
5 py.test.skip('crypt module only available on unix')
6
7 class AppTestCrypt:
8 spaceconfig = dict(usemodules=['crypt'])
9
10 def test_crypt(self):
11 import crypt
12 res = crypt.crypt("pass", "ab")
13 assert isinstance(res, str)
14 assert res
15