Updated test_crypt test to jive with bwarsaw testing style

This commit is contained in:
Roger E. Masse 1996-12-16 20:44:56 +00:00
parent a38ab505b6
commit b6454e58bc
1 changed files with 7 additions and 1 deletions

View File

@ -2,5 +2,11 @@
"""Simple test script for cryptmodule.c
Roger E. Masse
"""
verbose = 0
if __name__ == '__main__':
verbose = 1
import crypt
print 'Test encryption: ', crypt.crypt('mypassword', 'ab')
c = crypt.crypt('mypassword', 'ab')
if verbose:
print 'Test encryption: ', c