mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
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:
parent
5d3dee7629
commit
2d4950134e
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue