[coil] change "dummy" to "stub"

A few references are left behind: where we run an autotest that is
still called "dummy".

BUG=b:187793358
TEST=CQ passes

Change-Id: I98165c31088b0c7e9cfe170f2228e851a21975c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3526871
Tested-by: Mike Frysinger <vapier@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Ram Chandrasekar <rchandrasekar@google.com>
Commit-Queue: Ram Chandrasekar <rchandrasekar@google.com>
diff --git a/cli/flash_unittest.py b/cli/flash_unittest.py
index bda42fa..86edea3 100644
--- a/cli/flash_unittest.py
+++ b/cli/flash_unittest.py
@@ -91,13 +91,13 @@
   def testConfirmNonRemovableDevice(self):
     """Tests that we ask user to confirm if the device is not removable."""
     with mock.patch.object(cros_build_lib, 'BooleanPrompt') as mock_prompt:
-      flash.Flash(self.Device('/dev/dummy'), self.IMAGE)
+      flash.Flash(self.Device('/dev/stub'), self.IMAGE)
       self.assertTrue(mock_prompt.called)
 
   def testSkipPromptNonRemovableDevice(self):
     """Tests that we skip the prompt for non-removable with --yes."""
     with mock.patch.object(cros_build_lib, 'BooleanPrompt') as mock_prompt:
-      flash.Flash(self.Device('/dev/dummy'), self.IMAGE, yes=True)
+      flash.Flash(self.Device('/dev/stub'), self.IMAGE, yes=True)
       self.assertFalse(mock_prompt.called)
 
   def testChooseRemovableDevice(self):
@@ -117,7 +117,7 @@
     """Test that flash.UsbImagerOperation is called when log level <= NOTICE."""
     expected_cmd = ['dd', 'if=foo', 'of=bar', 'bs=4M', 'iflag=fullblock',
                     'oflag=direct', 'conv=fdatasync']
-    usb_imager = flash.USBImager('dummy_device', 'board', 'foo', 'latest')
+    usb_imager = flash.USBImager('stub_device', 'board', 'foo', 'latest')
     run_mock = self.PatchObject(flash.UsbImagerOperation, 'Run')
     self.PatchObject(logging.Logger, 'getEffectiveLevel',
                      return_value=logging.NOTICE)
@@ -132,7 +132,7 @@
     """Test that sudo_run is called when log level > NOTICE."""
     expected_cmd = ['dd', 'if=foo', 'of=bar', 'bs=4M', 'iflag=fullblock',
                     'oflag=direct', 'conv=fdatasync']
-    usb_imager = flash.USBImager('dummy_device', 'board', 'foo', 'latest')
+    usb_imager = flash.USBImager('stub_device', 'board', 'foo', 'latest')
     run_mock = self.PatchObject(cros_build_lib, 'sudo_run')
     self.PatchObject(logging.Logger, 'getEffectiveLevel',
                      return_value=logging.WARNING)