1. Jason R. Coombs
  2. jaraco.crypto

Commits

Jason R. Coombs  committed 74f5be3

Restored threaded test

  • Participants
  • Parent commits b9525cf
  • Branches default

Comments (0)

Files changed (1)

File tests/test_misc.py

View file
 import py.test
 
 import test_evp
+import test_cipher
 
 class ThreadedTester(Thread):
 	failed = False
 	def run(self):
 		try:
 			test_evp.test_digest()
-			test_evp.test_cipher(['a'*1000, 'd'*1000])
-			test_evp.test_rand()
+			test_cipher.test_cipher(['a'*1000, 'd'*1000])
+			#test_evp.test_rand()
 		except Exception, e:
 			self.failed = True
 			self.exception = e
 
 def test_threaded_crypto():
-	py.test.skip('currently fails')
 	threads = [ThreadedTester() for i in range(10)]
 	map(lambda t: t.start(), threads)
 	# wait for the threads to complete