From a0fdf62e70a371a5f99ab0d66e581657414ed5d2 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Fri, 12 Sep 2014 12:38:34 -0400 Subject: [PATCH] Fix for running unit tests on Python 2.6. --- awx/main/tests/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/main/tests/commands.py b/awx/main/tests/commands.py index 0841812bbd..fea35dbc6f 100644 --- a/awx/main/tests/commands.py +++ b/awx/main/tests/commands.py @@ -12,6 +12,8 @@ import tempfile import time import urlparse import unittest +if not hasattr(unittest, 'skipIf'): + import unittest2 as unittest # Django import django