'verify that caching the due property works to limit queries'

def test_ccx_due_caching(self):

    expected = datetime.now(utc)
    self.set_ccx_override('due', expected)
    with check_mongo_calls(3):
        self.ccx.due
    with check_mongo_calls(0):
        self.ccx.due
