def test_pyusb_device_get_vendor_and_product_ids(self):
     """
     Test that the VID and PID supplied with the constructor is returned.
     """
     vendor_id = 0xE5F6
     product_id = 0x1AB2
     interface_number = 0
     device = PyUsbDevice(vendor_id, product_id, interface_number)
     self.assertEqual(device.get_vendor_id(), vendor_id)
     self.assertEqual(device.get_product_id(), product_id)