diff options
Diffstat (limited to 'passlib/tests/test_hosts.py')
-rw-r--r-- | passlib/tests/test_hosts.py | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/passlib/tests/test_hosts.py b/passlib/tests/test_hosts.py index aebe28e..b01a108 100644 --- a/passlib/tests/test_hosts.py +++ b/passlib/tests/test_hosts.py @@ -1,29 +1,29 @@ """test passlib.hosts""" -#========================================================= -#imports -#========================================================= +#============================================================================= +# imports +#============================================================================= from __future__ import with_statement -#core +# core import logging; log = logging.getLogger(__name__) import warnings -#site -#pkg +# site +# pkg from passlib import hosts, hash as hashmod from passlib.utils import unix_crypt_schemes from passlib.tests.utils import TestCase -#module +# module -#========================================================= -#test predefined app contexts -#========================================================= +#============================================================================= +# test predefined app contexts +#============================================================================= class HostsTest(TestCase): "perform general tests to make sure contexts work" - #NOTE: these tests are not really comprehensive, - # since they would do little but duplicate - # the presets in apps.py + # NOTE: these tests are not really comprehensive, + # since they would do little but duplicate + # the presets in apps.py # - # they mainly try to ensure no typos - # or dynamic behavior foul-ups. + # they mainly try to ensure no typos + # or dynamic behavior foul-ups. def check_unix_disabled(self, ctx): for hash in [ @@ -93,6 +93,6 @@ class HostsTest(TestCase): if scheme in schemes: self.assertTrue(ctx.verify("test", hash)) -#========================================================= -#eof -#========================================================= +#============================================================================= +# eof +#============================================================================= |