Drop unittest2

The library is imported if available, but we never build it in any
environment where the package would be installed. It was last used for
RHEL 6 builds.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2024-03-13 13:46:30 +01:00
parent eb4ba5f637
commit d95d1f59e2
32 changed files with 41 additions and 140 deletions

View file

@ -7,15 +7,12 @@ try:
except ImportError:
import mock
try:
import unittest2 as unittest
except ImportError:
import unittest
import json
import os
import shutil
import six
import tempfile
import shutil
import json
import unittest
from requests.exceptions import HTTPError