viff

changeset 1541:d2f48fac982a

BeDOZa: Skip tests when no PyPaillier is detected.
author Thomas P Jakobsen <tpj@cs.au.dk>
date Mon, 20 Sep 2010 21:50:37 +0200
parents 9d4f9551644c
children 8e06a2598579
files viff/test/test_bedoza_triple.py
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/test/test_bedoza_triple.py	Wed Aug 11 16:09:32 2010 +0200
     1.2 +++ b/viff/test/test_bedoza_triple.py	Mon Sep 20 21:50:37 2010 +0200
     1.3 @@ -625,7 +625,12 @@
     1.4  if missing_package:
     1.5      test_cases = [ModifiedPaillierTest,
     1.6                    PartialShareGeneratorTest,
     1.7 -                  TripleTest
     1.8 +                  TripleTest,
     1.9 +                  DataTransferTest,
    1.10 +                  MulTest,
    1.11 +                  FullMulTest,
    1.12 +                  ShareGeneratorTest,
    1.13 +                  AddMacsTest
    1.14                    ]
    1.15      for test_case in test_cases:
    1.16          test_case.skip =  "Skipped due to missing %s package." % missing_package