tests: Use unittest2 consistently

Without importing this module, the tests are going to fail on Python
2.6.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-09-22 10:28:01 +02:00
parent 9a3b0f089e
commit c118adc705

View File

@ -2,7 +2,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import unittest try:
import unittest2 as unittest
except ImportError:
import unittest
import os import os
import sys import sys