def test_stats_from_fai_empty(self): '''Test task stats_from_fai empty file''' infile = os.path.join(data_dir, 'tasks_test_stats_from_fai.in.empty.fai') got = tasks.stats_from_fai(infile) expected = { 'longest': 0, 'shortest': 0, 'N50': 0, 'mean': 0, 'number': 0, 'total_length': 0 } self.assertEqual(expected, got)