old_contents: from mpfmc.tests.MpfMcTestCase import MpfMcTestCase
  
  
  class TestDmd(MpfMcTestCase):
      def get_machine_path(self):
          return 'tests/machine_files/dmd'
  
      def get_config_file(self):
          return 'test_color_dmd.yaml'
  
      def test_color_dmd(self):
          self.advance_time()
          self.assertIn('dmd', self.mc.targets)
  
          self.mc.events.post('slide1')
          self.mc.events.post('dmd_slide')
          self.advance_time(2)
  
      def test_color_and_monochrome_dmd(self):
          self.advance_time()
          self.assertIn('dmd', self.mc.targets)
  
          self.mc.events.post('slide2')
          self.mc.events.post('dmd_slide')
          self.advance_real_time(4)
  
new_contents: from mpfmc.tests.MpfMcTestCase import MpfMcTestCase
  
  
  class TestDmd(MpfMcTestCase):
      def get_machine_path(self):
          return 'tests/machine_files/dmd'
  
      def get_config_file(self):
          return 'test_color_dmd.yaml'
  
      def test_color_dmd(self):
          self.advance_time()
          self.assertIn('dmd', self.mc.targets)
  
          self.mc.events.post('slide1')
          self.mc.events.post('dmd_slide')
          self.advance_time(2)
  
      def test_color_and_monochrome_dmd(self):
          self.advance_time()
          self.assertIn('dmd', self.mc.targets)
  
          self.mc.events.post('slide2')
          self.mc.events.post('dmd_slide')
          self.advance_time(4)
  
subject: Update test time