'Test date representation with alternative calendar'

def testDateRepresentAlternativeCalendar(self):

    assertEqual = self.assertEqual
    represent = S3DateTime.date_represent
    date = datetime.date(2015, 5, 3)
    assertEqual(represent(date), '2015-05-03')
    assertEqual(represent(date, calendar='Persian'), '1394-02-13')
    current.calendar = S3Calendar('Persian')
    assertEqual(represent(date), '1394-02-13')
    assertEqual(represent(date, calendar='Gregorian'), '2015-05-03')
