Unit testing on Py26 takes too long to run. The code paths are the
same, so we'll temporarily skip tests is the class contains XML
formating since duplicate full stack JSON tests are run.
Change-Id: Ie8eddfe0b6af39f32380ce532e0c26acc0a6596d
Related-Bug:
1295281
import contextlib
import logging
import os
+import sys
import eventlet.timeout
import fixtures
'neutron.common.exceptions.NeutronException.use_fatal_exceptions',
fake_use_fatal_exceptions))
+ if sys.version_info < (2, 7) and getattr(self, 'fmt', '') == 'xml':
+ raise self.skipException('XML Testing Skipped in Py26')
+
def config(self, **kw):
"""Override some configuration values.