def test_toElementSince(self):
        history = muc.HistoryOptions(since=datetime(2002, 10, 13, 23, 58, 37,
                                                   tzinfo=tzutc()))

        element = history.toElement()

        self.assertEqual(u'2002-10-13T23:58:37Z',
                         element.getAttribute('since'))
If C{since} is set, the attribute C{'since'} has a rendered timestamp.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_muc.py/HistoryOptionsTest.test_toElementSince