~ubuntu-branches/ubuntu/oneiric/cardstories/oneiric

« back to all changes in this revision

Viewing changes to plugins/auth/test_auth.py

  • Committer: Bazaar Package Importer
  • Author(s): Loic Dachary (OuoU)
  • Date: 2011-08-28 00:22:32 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110828002232-m882t5uwjmsmaq0j
Tags: 1.0.6-1
upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        result_in = [{ 'players': [ [ request1.args['player_id'][0] ],
77
77
                                   [ request1.args['owner_id'][0] ]
78
78
                                   ],
 
79
                       'owner_id': request1.args['owner_id'][0],
79
80
                       'invited': [ request1.args['player_id'][0] ] }]
80
81
        result_out = yield self.auth.postprocess(result_in)
81
82
        self.assertEquals(result_out, [{ 'players': [ [ player ],
82
83
                                                      [ owner ] ],
 
84
                                         'owner_id': owner,
83
85
                                         'invited': [ player ]}])
84
86
        
85
87