We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d9369 commit da779b5Copy full SHA for da779b5
test/test_cgi.py
@@ -437,6 +437,8 @@ def testPasswordMigration(self):
437
# assume that the "best" algorithm is the first one and doesn't
438
# need migration, all others should be migrated.
439
for scheme in password.Password.deprecated_schemes:
440
+ if scheme == 'crypt' and os.name == 'nt':
441
+ continue # crypt is not available on Windows
442
pw1 = password.Password('foo', scheme=scheme)
443
self.assertEqual(pw1.needs_migration(), True)
444
self.db.user.set(chef, password=pw1)
0 commit comments