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:
parent
aa00e62fed
commit
a47a40cf26
6 changed files with 10 additions and 11 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue