repo.or.cz
/
python
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
- Got rid of newmodule.c
[python/dscho.git]
/
Lib
/
test
/
test_crypt.py
blob
ca53ec5ee4a3d08c63ffcf33a737cc558055f8b4
1
#! /usr/bin/env python
2
"""Simple test script for cryptmodule.c
3
Roger E. Masse
4
"""
5
6
from
test_support
import
verify
,
verbose
7
import
crypt
8
9
c
=
crypt
.
crypt
(
'mypassword'
,
'ab'
)
10
if
verbose
:
11
print
'Test encryption: '
,
c