def test_get_due_list_records(self):
        es = FakeES()
        es.add_doc('foozle', {'foo': 'bar'})
        es.add_doc('boozle', {'fizzle': 'bizzle'})
        due_list_records = list(get_due_list_records(datetime.utcnow(), case_es=es))
        self.assertEquals(due_list_records, [{'foo': 'bar'}, {'fizzle': 'bizzle'}])
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_get_due_list_records