Changeset 12822
- Timestamp:
- 24 Mar 2015, 08:58:10 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_catalog.py
r12815 r12822 34 34 result = [x for x in result] 35 35 self.assertEqual(len(result), 1) 36 37 def test_search_for_payer_id(self): 38 # the catalog will search in payer_id field 39 app = self.create_app() 40 payer = FakePayer() 41 payer.payer_id = u'ThePayerID' 42 payment = Payment(payer=payer, payable=FakePayable()) 43 app['p1'] = payment 44 result = search(query='ThePayerID', searchtype='payer_id') 45 result = [x for x in result] 46 self.assertEqual(len(result), 1)
Note: See TracChangeset for help on using the changeset viewer.