test: make TestBase inherit unittest.TestCase

We want to extend our base-class to support extensions to
unittest.TestCase, so make sure we inherit from it.

Adjust all callers to no longer inherit from TestCase, since this is now
done automatically by TestBase.
This commit is contained in:
David Rheinsberg 2020-05-26 17:35:37 +02:00
parent 06119f7d88
commit 240905d4a0
5 changed files with 6 additions and 5 deletions

View file

@ -10,7 +10,7 @@ from osbuild.util import osrelease
from .. import test
class TestUtilOSRelease(test.TestBase, unittest.TestCase):
class TestUtilOSRelease(test.TestBase):
def test_non_existant(self):
#
# Verify default os-release value, if no files are given.