def test_assert_attrs(self):
        event = Event(title="Title",description="Description")
        self.assert_attrs(event,
          title = 'Title',
          description = 'Description'
        )
Convert a Python Date object to a wx DateTime object. Ignores time.
dataset/ETHPy150Open garethr/django-test-extensions/src/test_extensions/examples/examples.py/Examples.test_assert_attrs--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/date_editor.py/MultiCalendarCtrl.datetime_from_date