def METHOD_NAME(self):
    item = self.context["last_success#day-1"]
    expected_date = self.last_success.run_time - datetime.timedelta(days=1)
    assert_equal(item, str(expected_date.day))
    item = self.context["last_success#shortdate"]
    assert_equal(item, "2012-03-14")