test: fix executable test
During the rework done in commit "use and require explicit exports"
with commit id 7ae4a7e78, the test got overlooked. Add an empty
list of checkpoints to the `obs.compile` invocation as to actually
trigger the osbuild invocation.
Reported-By: Thomas Lavocat <tlavocat@redhat.com>
This commit is contained in:
parent
ed82f33c8f
commit
f7af3042ca
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class TestExecutable(unittest.TestCase):
|
|||
invalid = json.dumps({"foo": 42})
|
||||
|
||||
with self.osbuild as osb, self.assertRaises(subprocess.CalledProcessError) as e:
|
||||
osb.compile(invalid, check=True)
|
||||
osb.compile(invalid, checkpoints=[], check=True)
|
||||
|
||||
self.assertEqual(e.exception.returncode, 2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue