viff

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 diff
     1.1 --- a/viff/test/test_apps.py	Sat Aug 09 14:59:03 2008 +0200
     1.2 +++ b/viff/test/test_apps.py	Sat Aug 09 15:09:19 2008 +0200
     1.3 @@ -83,9 +83,13 @@
     1.4                  subtext = "\n".join(lines)
     1.5                  self.assertIn(subtext, o)
     1.6  
     1.7 -        m1 = execute("millionaires.py", "trial-1.ini")
     1.8 -        m2 = execute("millionaires.py", "trial-2.ini")
     1.9 -        m3 = execute("millionaires.py", "trial-3.ini")
    1.10 +        # TODO: Enable SSL again when we have a way of specifying the
    1.11 +        # name of the key and certificate. Right now the files are
    1.12 +        # always assumed to be named player-X.{key,cert}, but we want
    1.13 +        # them to be named trial-X.{key,cert} when testing.
    1.14 +        m1 = execute("millionaires.py", "--no-ssl", "trial-1.ini")
    1.15 +        m2 = execute("millionaires.py", "--no-ssl", "trial-2.ini")
    1.16 +        m3 = execute("millionaires.py", "--no-ssl", "trial-3.ini")
    1.17          
    1.18          result = gatherResults([m1, m2, m3])
    1.19          result.addCallback(check_outputs)