We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861bebf commit 5f77ff1Copy full SHA for 5f77ff1
functional_tests.py
@@ -138,7 +138,7 @@ def test_that_have_correct_number_of_session(self):
138
data_file = open('./_data/past_sessions.yml', 'r')
139
quotes_in_data = yaml.load(data_file)
140
data_file.close()
141
- self.assertEqual(len(quotes), len(quotes_in_data))
+ self.assertEqual(len(quotes), sum([len(i['sessions']) for i in quotes_in_data]))
142
143
144
if __name__ == '__main__':
0 commit comments