test: remove unittest dependency for OSBuild

Remove the dependency on unittest for the `OSBuild` class which
used the `unittest` instance only for `assertEqual`, which can
easily also be done via a plain `assert`.
This commit is contained in:
Christian Kellner 2021-06-07 22:00:55 +00:00
parent aa00e62fed
commit a47a40cf26
6 changed files with 10 additions and 11 deletions

View file

@ -11,7 +11,7 @@ from .. import test
class TestExecutable(unittest.TestCase):
def setUp(self):
self.osbuild = test.OSBuild(self)
self.osbuild = test.OSBuild()
def test_invalid_manifest(self):
invalid = json.dumps({"foo": 42})