def test_singletablemixin_with_non_paginated_view():
 class Table(tables.Table, ):
  class Meta:
   model = Region
 class View(tables.SingleTableMixin, TemplateView, ):
  table_class = Table
  table_data = MEMORY_DATA
  template_name = 'dummy.html'
 View.as_view()(build_request('/'))

def test_singletablemixin_with_non_paginated_view ( ) : class Table ( tables . Table , ) : class Meta : model = Region class View ( tables . SingleTableMixin , TemplateView , ) : table_class = Table table_data = MEMORY_DATA template_name = 'dummy.html' View . as_view ( ) ( build_request ( '/' ) )
singletablemixin should not assume it is mixed with a listview github issue #326 .