def test_is_current_in_the_past(self): """A simple booking.""" today = datetime.today().date() last_week = today + timedelta(days=-7) b = Booking(**dict( start_date=last_week, end_date=last_week + timedelta(days=3), title='Three days in the sun' )) b.save() self.assertFalse(b.is_current())