''' Tests for ordr2.views.public ''' def test_index_view(): ''' test the default view for a root resource ''' from ordr2.views.public import index result = index(None, None) assert result == {}