Skip to content

Commit 5f77ff1

Browse files
author
Timothy Standen
committed
Fixed borken test
1 parent 861bebf commit 5f77ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functional_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def test_that_have_correct_number_of_session(self):
138138
data_file = open('./_data/past_sessions.yml', 'r')
139139
quotes_in_data = yaml.load(data_file)
140140
data_file.close()
141-
self.assertEqual(len(quotes), len(quotes_in_data))
141+
self.assertEqual(len(quotes), sum([len(i['sessions']) for i in quotes_in_data]))
142142

143143

144144
if __name__ == '__main__':

0 commit comments

Comments
 (0)