'Test calendar construction with alternative defaults'

def testConstructionWithUndefinedSubclass(self):

    assertEqual = self.assertEqual
    assertTrue = self.assertTrue
    CALENDAR = 'Test'
    settings = current.deployment_settings
    settings.L10n.calendar = CALENDAR
    assertEqual(settings.get_L10n_calendar(), CALENDAR)
    c = S3Calendar()
    assertEqual(c._name, None)
    assertEqual(c._calendar, None)
    assertEqual(c.name, CALENDAR)
    assertTrue((type(c.calendar) is S3Calendar))
