@patch('braubuddy.envcontroller.tosr0x_usb.tosr0x')
    def test_dummy_returned_if_no_devices(self, mk_tosr0x):

        mk_tosr0x.handler.return_value = []
        envcontroller = auto.AutoEnvController()
        self.assertIsInstance(envcontroller, dummy.DummyEnvController)
Dummy envcontroller is created if no real envcontrollers discovered.
dataset/ETHPy150Open amorphic/braubuddy/braubuddy/tests/envcontroller/test_auto.py/TestAuto.test_dummy_returned_if_no_devices