changeset 5743:abcfaf27a11a

Skip test test_auth_with_des_stored_password if platform don't provide crypt module
author pavel_vinogradov
date Wed, 01 Dec 2010 10:05:19 +0300
parents dde52ccbb1e3
children 50b3926c8880
files MoinMoin/_tests/test_user.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_user.py	Wed Dec 01 09:56:01 2010 +0300
+++ b/MoinMoin/_tests/test_user.py	Wed Dec 01 10:05:19 2010 +0300
@@ -135,7 +135,7 @@
             theuser = user.User(self.request, name=name, password='12345')
             assert theuser.valid
         except ImportError:
-            crypt = None            
+            py.test.skip("Platform don't provide crypt module!")
         
     def testSubscriptionSubscribedPage(self):
         """ user: tests isSubscribedTo  """