def testmaketable(self):
    CLIENT_URL = '/heatmap/maketable/'
    TABLE_LIST = ['data_rev', 'data']
    response = self.client.get(CLIENT_URL)
    self.assertEqual(response.status_code, 200)
    form_data = {'numrows': 10, 'lastrow': 1}
    form = TableForm(data=form_data)
    post_dict = {'display_form': form,
                 'tablename': TABLE_LIST[0],
                 'table_list': TABLE_LIST}
    response = self.client.post(CLIENT_URL, post_dict)
    self.assertEqual(response.status_code, 200)