Fix test_clone to distinguish clone in/out

This makes it easier to debug which side of the test case is failing.
This commit is contained in:
Dan Smith 2025-12-17 08:43:42 -08:00 committed by Dan Smith
parent 5d3dee7629
commit 2d4950134e

View file

@ -108,12 +108,12 @@ class TestCaseClone(base.DriverTest):
self.radio._mmap = orig_mmap
self.radio.status_fn = lambda s: True
msg = ('Clone should have failed and raised an exception '
msg = ('Clone in should have failed and raised an exception '
'that inherits from RadioError')
with self.assertRaises(errors.RadioError, msg=msg):
self.radio.sync_in()
msg = ('Clone should have failed and raised an exception '
msg = ('Clone out should have failed and raised an exception '
'that inherits from RadioError')
with self.assertRaises(errors.RadioError, msg=msg):
self.radio.sync_out()