def test_requires(self):
     task = QueryLastCountryPerCourseWorkflow(**self._get_kwargs())
     required_tasks = list(task.requires())
     self.assertEquals(len(required_tasks), 1)
     self.assertEquals(len(required_tasks[0]), 4)
 def test_requires(self):
     task = QueryLastCountryPerCourseWorkflow(**self._get_kwargs())
     required_tasks = list(task.requires())
     self.assertEquals(len(required_tasks), 1)
     self.assertEquals(len(required_tasks[0]), 4)
 def test_output(self):
     task = QueryLastCountryPerCourseWorkflow(**self._get_kwargs())
     self.assertEquals(task.output().path, 's3://output/course_country/path')
 def test_output(self):
     task = QueryLastCountryPerCourseWorkflow(**self._get_kwargs())
     self.assertEquals(task.output().path,
                       's3://output/course_country/path')