def test_due_list_by_task_name(self):
        es = FakeES()
        due_list = list(get_due_list_by_task_name(datetime.utcnow(), case_es=es))
        self.assertEquals(due_list, [('foo', 10)])
Basic sanity check that the function does not crash and decomposes
dataset/ETHPy150Open dimagi/commcare-hq/custom/bihar/tests/test_due_list.py/TestDueList.test_due_list_by_task_name