Skip to content

Commit

Permalink
Add tests checking arg validation by intel_device_info
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Jan 16, 2025
1 parent c274728 commit b51a19f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dpctl/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ def test_intel_device_info():
assert test, err_msg


def test_intel_device_info_validation():
invalid_device = dict()
with pytest.raises(TypeError):
dpctl.utils.intel_device_info(invalid_device)


def test_order_manager():
try:
q = dpctl.SyclQueue()
Expand Down

0 comments on commit b51a19f

Please sign in to comment.