wilsonfreitas / python-bizdays

Business days calculations and utilities
http://wilsonfreitas.github.io/python-bizdays/
MIT License
80 stars 34 forks source link

The calendar must have a name property #3

Closed wilsonfreitas closed 11 years ago

wilsonfreitas commented 11 years ago

The calendar doesn't have a name property, and it makes nonsense since I have to provide a name for the calendar.

wilsonfreitas commented 11 years ago

Now Calendar has a read-only name.

    cal = Calendar('Test')
    self.assertEqual(cal.name, 'Test')