def test_footer_disable_on_table():
 class Table(tables.Table, ):
  name = tables.Column()
  country = tables.Column(footer='Total:')
 table = Table(MEMORY_DATA, show_footer=False)
 assert (table.has_footer() is False)

def test_footer_disable_on_table ( ) : class Table ( tables . Table , ) : name = tables . Column ( ) country = tables . Column ( footer = 'Total:' ) table = Table ( MEMORY_DATA , show_footer = False ) assert ( table . has_footer ( ) is False )
showing the footer can be disabled using show_footer argument to the table constructor .