def set_label(self, s, label):
        self.state.body_labels[self.bodies[self.index].segment_id] = label
        self.set_index(self.index + 1)
def test_date_input(self):
        assert_equal(inputs.date("2008-08-01"), datetime(2008, 8, 1))