======================================================================
ERROR: test_get_all_permissions (tests.test_model_client.TestPermission)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mitesh/Apps/hasgeek/lastuser/tests/test_model_client.py", line 125, in test_get_all_permissions
    permissions = models.Permission.get_all_permissions(user=self.user)
  File "/Users/mitesh/Apps/hasgeek/lastuser/lastuser_core/models/client.py", line 491, in get_all_permissions
    return cls.query.filter(expression=expression).order_by(u'name').all()
TypeError: <lambda>() got an unexpected keyword argument 'expression'