@@ -0,0 +1,817 @@
+import unittest%0Afrom csvparser import fields%0A%0A%0Aclass TestClassWithDateField(object):%0A    date_attr1 = fields.DateField(date_format='%25Y-%25m-%25d')%0A    date_attr2 = fields.DateField(date_format='%25Y-%25m-%25d')%0A%0A%0Aclass DateFieldTestCase(unittest.TestCase):%0A    def test_date_format1(self):%0A        test_object = TestClassWithDateField()%0A        test_object.date_attr1 = '2016-07-09'%0A        test_object.date_attr2 = '2017-12-27'%0A%0A        self.assertEqual(test_object.date_attr1.year, 2016)%0A        self.assertEqual(test_object.date_attr1.month, 7)%0A        self.assertEqual(test_object.date_attr1.day, 9)%0A%0A        self.assertEqual(test_object.date_attr2.year, 2017)%0A        self.assertEqual(test_object.date_attr2.month, 12)%0A        self.assertEqual(test_object.date_attr2.day, 27)%0A%0A    def test_date_format2(self):%0A        pass

test case for DateField