Changeset 244 for trunk

Show
Ignore:
Timestamp:
04/04/08 03:52:11 (4 years ago)
Author:
ocmathew
Message:

Ensure that MINT_KEY_PASSES with ... are not catching [] (which should not occur)

Location:
trunk/pyopencoin/oc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pyopencoin/oc/entities.py

    r243 r244  
    728728 
    729729        >>> stt.send('MINT_KEY_FETCH_DENOMINATION',[['1'], '0']) 
    730         <Message('MINT_KEY_PASS',[...])> 
     730        <Message('MINT_KEY_PASS',[...]])> 
    731731 
    732732        >>> stt.send('MINT_KEY_FETCH_KEYID', [tests.mint_key1.encodeField('key_identifier')]) 
    733         <Message('MINT_KEY_PASS',[...])> 
     733        <Message('MINT_KEY_PASS',[...]])> 
    734734 
    735735        >>> stt.send('FETCH_CDD_REQUEST', '0') 
    736         <Message('FETCH_CDD_PASS',[...])> 
     736        <Message('FETCH_CDD_PASS',[...]])> 
    737737 
    738738        >>> stt.send('foo') 
  • trunk/pyopencoin/oc/protocols.py

    r243 r244  
    11441144    >>> gmp.newState(gmp.start) 
    11451145    >>> gmp.state(Message('MINT_KEY_FETCH_KEYID',[pub1.encodeField('key_identifier')])) 
    1146     <Message('MINT_KEY_PASS',[...])> 
     1146    <Message('MINT_KEY_PASS',[...]])> 
    11471147 
    11481148    >>> gmp.newState(gmp.start)