Skip to content
Snippets Groups Projects
Commit 35839460 authored by ptangu01's avatar ptangu01
Browse files

fix bug on devtype test

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@1376 b32b6428-25c9-4566-ad07-03861ab6144f
parent cc0e5f59
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ class DeviceTest(unittest.TestCase):
dev = xAAL.devices.Device(devtype, addr)
self.assertEqual(devtype, dev.get_type())
def test_bad_address(self):
def test_bad_devtype(self):
addr = 'df99881e-1911-11e6-afc5-f01faf41ecb3'
devtype = 'thermometer'
self.assertRaises(xAAL.devices.DeviceError, xAAL.devices.Device, devtype, addr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment