def _objects_eq(manager, list_):
 eq_(set(manager.all()), set(list_))

def _objects_eq ( manager , list_ ) : eq_ ( set ( manager . all ( ) ) , set ( list_ ) )
assert that the objects contained by manager are those in list_ .