Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/templates/test_jinja.py", line 1216, in test_normlookup

with patch.object(SaltCacheLoader, 'file_client', Mock()):
AttributeError: 'MagicMock' object has no attribute 'object'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise

raise value


 "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/usr/local/lib/python3.6/dist-packages/airflow/www/auth.py", line 34, in decorated

return func(*args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/airflow/www/views.py", line 483, in index

filter_dag_ids = current_app.appbuilder.sm.get_accessible_dag_ids(g.user)


 "/usr/local/lib/python3.6/dist-packages/airflow/www/security.py", line 252, in get_accessible_dag_ids

[permissions.ACTION_CAN_EDIT, permissions.ACTION_CAN_READ], user


 "/usr/local/lib/python3.6/dist-packages/airflow/utils/session.py", line 65, in wrapper

return func(*args, session=session, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/airflow/www/security.py", line 266, in get_accessible_dags

.subqueryload(Role.permissions)
AttributeError: '_UnboundLoad' object has no attribute 'options'
