def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def test_date_input(self):
        assert_equal(inputs.date("2008-08-01"), datetime(2008, 8, 1))