Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Update unittest to new message
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz-jbleclere committed Apr 30, 2020
1 parent f35e4e0 commit d58cb43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_unittest_on_hw.py
Original file line number Diff line number Diff line change
Expand Up @@ -2768,7 +2768,7 @@ def my_wrong_read_callback(register_offset, returned_data):
driver.write_register_callback,
async_cb.callback
)
assert 'DRM Communication Self-Test 2 failed: Could not access DRM Controller registers' in str(excinfo.value)
assert 'DRM Communication Self-Test 2 failed' in str(excinfo.value)
assert 'Please verify' in str(excinfo.value)
assert async_handler.get_error_code(str(excinfo.value)) == accelize_drm.exceptions.DRMBadArg.error_code
async_cb.assert_NoError()
Expand All @@ -2784,7 +2784,7 @@ def my_wrong_write_callback(register_offset, data_to_write):
my_wrong_write_callback,
async_cb.callback
)
assert 'DRM Communication Self-Test 2 failed: Could not access DRM Controller registers' in str(excinfo.value)
assert 'DRM Communication Self-Test 2 failed' in str(excinfo.value)
assert 'Please verify' in str(excinfo.value)
assert async_handler.get_error_code(str(excinfo.value)) == accelize_drm.exceptions.DRMBadArg.error_code
async_cb.assert_NoError()

0 comments on commit d58cb43

Please sign in to comment.