[groupamaes] use find_object in get_account

This commit is contained in:
Bezleputh 2014-04-17 12:00:04 +02:00
commit 98a70783a7
3 changed files with 3 additions and 12 deletions

View file

@ -28,4 +28,5 @@ class GroupamaesTest(BackendTest):
l = list(self.backend.iter_accounts())
if len(l) > 0:
a = l[0]
self.assertTrue(self.backend.get_account(l[0].id) is not None)
list(self.backend.iter_history(a))