예제 #1
0
 def test_prepare_xls_content_with_data(self):
     data = prepare_xls_content([self.education_group_year_1])
     self.assertEqual(len(data), 1)
     self.assertEqual(data[0], get_xls_data(self.education_group_year_1))
예제 #2
0
 def test_prepare_xls_content_no_data(self):
     self.assertEqual(prepare_xls_content([]), [])