changeset 1563:cb568167b140

BeDOZa: Cleaned up naming.
author Thomas P Jakobsen <tpj@cs.au.dk>
date Thu, 30 Sep 2010 10:28:09 +0200
parents 421137efef93
children 1b3c7c485cd0
files viff/test/bedoza/test_zero_knowledge.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/test/bedoza/test_zero_knowledge.py	Thu Sep 30 10:26:11 2010 +0200
+++ b/viff/test/bedoza/test_zero_knowledge.py	Thu Sep 30 10:28:09 2010 +0200
@@ -30,11 +30,11 @@
 from viff.test.bedoza.util import BeDOZaTestCase, skip_if_missing_packages
 
 
-class StubPlayer(object):
+class PlayerStub(object):
     pubkey = {'n': 123}
 
 class RuntimeStub(object):
-    def __init__(self, players={1: StubPlayer(), 2: StubPlayer(), 3: StubPlayer()}, id=1):
+    def __init__(self, players={1: PlayerStub(), 2: PlayerStub(), 3: PlayerStub()}, id=1):
         self.players = players
         self.id = id