@capture_logging(assertHasMessage, NO_NEW_DEVICE_IN_OS)
    def test_no_new_device_logged(self, logger):
        self.assertIs(
            None,
            _wait_for_new_device(
                base=[],
                expected_size=1,
                time_limit=0,
            )
        )
``NO_NEW_DEVICE_IN_OS`` is logged if a new device does not appear.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_ebs.py/WaitForNewDeviceTests.test_no_new_device_logged