changeset 887:8ad2a5d68454

Disabled SSL for the millionaires unit test.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 09 Aug 2008 15:09:19 +0200
parents 1354833d6d7d
children 84f3f245fbc8
files viff/test/test_apps.py
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/test_apps.py	Sat Aug 09 14:59:03 2008 +0200
+++ b/viff/test/test_apps.py	Sat Aug 09 15:09:19 2008 +0200
@@ -83,9 +83,13 @@
                 subtext = "\n".join(lines)
                 self.assertIn(subtext, o)
 
-        m1 = execute("millionaires.py", "trial-1.ini")
-        m2 = execute("millionaires.py", "trial-2.ini")
-        m3 = execute("millionaires.py", "trial-3.ini")
+        # TODO: Enable SSL again when we have a way of specifying the
+        # name of the key and certificate. Right now the files are
+        # always assumed to be named player-X.{key,cert}, but we want
+        # them to be named trial-X.{key,cert} when testing.
+        m1 = execute("millionaires.py", "--no-ssl", "trial-1.ini")
+        m2 = execute("millionaires.py", "--no-ssl", "trial-2.ini")
+        m3 = execute("millionaires.py", "--no-ssl", "trial-3.ini")
         
         result = gatherResults([m1, m2, m3])
         result.addCallback(check_outputs)