def test_toElementMaxStanzas(self):
        history = muc.HistoryOptions(maxStanzas=10)

        element = history.toElement()

        self.assertEqual(u'10', element.getAttribute('maxstanzas'))
Create a new, empty pipeline. This function is idempotent.
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_muc.py/HistoryOptionsTest.test_toElementMaxStanzas--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/boto_datapipeline.py/create_pipeline