mirror of
https://github.com/naruxde/revpimodio2.git
synced 2026-09-30 23:04:29 +02:00
test: Update wd_toggle test for connect 4
This function will now raise a NotImplementedError.
This commit is contained in:
1 parent
0ba8772d1b
commit
9bb1cee4a1
1 file changed
+1
-1
@@ -49,7 +49,7 @@ class TestRevPi4(TestRevPiModIO):
|
||||
self.assertIsInstance(rpi.core.temperature, int)
|
||||
self.assertIsInstance(rpi.core.frequency, int)
|
||||
|
||||
with self.assertRaises(AttributeError):
|
||||
with self.assertRaises(NotImplementedError):
|
||||
rpi.core.wd_toggle()
|
||||
|
||||
with self.assertRaisesRegex(AttributeError, r"direct assignment is not supported"):
|
||||
|
||||
Reference in new issue
Block a user