Commit 6e72728e by Brian Wilson

Add more answer_dist coverage.

Also resolve remaining PEP8 warnings.

Change-Id: I1e5e1947ededbba97540e661c3fb6adcac100597
parent b82f7a8e
...@@ -293,7 +293,7 @@ class DailyRegistrationsEnrollmentsAndCourses(luigi.Task, ...@@ -293,7 +293,7 @@ class DailyRegistrationsEnrollmentsAndCourses(luigi.Task,
""" """
report = pandas.DataFrame.from_items([ report = pandas.DataFrame.from_items([
(self.ROW_LABELS['registrations'], registrations), (self.ROW_LABELS['registrations'], registrations),
(self.ROW_LABELS['enrollments'], enrollments), (self.ROW_LABELS['enrollments'], enrollments),
]) ])
return report return report
...@@ -277,8 +277,6 @@ class TestWeeklyIncrementalUsersAndEnrollments(unittest.TestCase): ...@@ -277,8 +277,6 @@ class TestWeeklyIncrementalUsersAndEnrollments(unittest.TestCase):
self.assertEqual(res.loc[self.row_label('enrollment_change')]['2013-01-15'], 2) self.assertEqual(res.loc[self.row_label('enrollment_change')]['2013-01-15'], 2)
class TestDailyRegistrationsEnrollmentsAndCourses(unittest.TestCase): class TestDailyRegistrationsEnrollmentsAndCourses(unittest.TestCase):
"""Tests for DailyRegistrationsEnrollmentsAndCourses class.""" """Tests for DailyRegistrationsEnrollmentsAndCourses class."""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment