Commit 36d9be1d authored by Serge S. Koval's avatar Serge S. Koval

Fixed tests

parent add7e01f
...@@ -774,8 +774,8 @@ def test_list_row_actions(): ...@@ -774,8 +774,8 @@ def test_list_row_actions():
# Test custom views # Test custom views
view = MockModelView(Model, endpoint='test3', view = MockModelView(Model, endpoint='test3',
column_list_row_actions=[ column_list_row_actions=[
LinkRowAction('glyphicon glyphicon-off', 'http://localhost/?id={row_id}'), template.LinkRowAction('glyphicon glyphicon-off', 'http://localhost/?id={row_id}'),
EndpointLinkRowAction('glyphicon glyphicon-test', '.test1') template.EndpointLinkRowAction('glyphicon glyphicon-test', 'test1.index_view')
]) ])
admin.add_view(view) admin.add_view(view)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment