'Test that the error condition element has the correct namespace.'

def test_getElementConditionNamespace(self):

    e = error.StreamError('feature-not-implemented')
    element = e.getElement()
    self.assertEqual(NS_XMPP_STREAMS, getattr(element, 'feature-not-implemented').uri)
