Skip to content

Commit

Permalink
tests: Add bare minimum coverage for Device.self_test_device() (#463)
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Keryan <brad.keryan@ni.com>
  • Loading branch information
bkeryan authored Dec 19, 2023
1 parent 847a244 commit 0bc279c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/component/system/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ def test___devices_with_different_names___hash___not_equal(init_kwargs):
device2 = Device("tsVoltageTester1", **init_kwargs)

assert hash(device1) != hash(device2)


def test___self_test_device___no_errors(any_x_series_device: Device) -> None:
any_x_series_device.self_test_device()

0 comments on commit 0bc279c

Please sign in to comment.