old_contents: """
  tests for host state
  """
  
  
  import salt.utils.platform
  from tests.support.case import ModuleCase
  
  HAS_LSB_RELEASE = True
  try:
      import lsb_release
  except ImportError:
      HAS_LSB_RELEASE = False
  
  
  class CompileTest(ModuleCase):
      """
      Validate the state compiler
      """
  
      def test_multi_state(self):
          """
          Test the error with multiple states of the same type
          """
          ret = self.run_function("state.sls", mods="fuzz.multi_state")
          # Verify that the return is a list, aka, an error
          self.assertIsInstance(ret, list)
  
      def test_jinja_deep_error(self):
          """
          Test when we have an error in a execution module
          called by jinja
          """
          if salt.utils.platform.is_linux() and HAS_LSB_RELEASE:
              release = lsb_release.get_distro_information()
              if (
                  release.get("ID") == "Debian"
                  and int(release.get("RELEASE", "0")[0]) < 9
              ):
                  self.skipTest("This test is flaky on Debian 8. Skipping.")
  
          ret = self.run_function("state.sls", ["issue-10010"])
          self.assertTrue(", in jinja_error" in ret[0].strip())
          self.assertTrue(ret[0].strip().endswith("Exception: hehehe"))
  
new_contents: """
  tests for host state
  """
  
  
  from tests.support.case import ModuleCase
  
  
  class CompileTest(ModuleCase):
      """
      Validate the state compiler
      """
  
      def test_multi_state(self):
          """
          Test the error with multiple states of the same type
          """
          ret = self.run_function("state.sls", mods="fuzz.multi_state")
          # Verify that the return is a list, aka, an error
          self.assertIsInstance(ret, list)
  
      def test_jinja_deep_error(self):
          """
          Test when we have an error in a execution module
          called by jinja
          """
  
          ret = self.run_function("state.sls", ["issue-10010"])
          self.assertTrue(", in jinja_error" in ret[0].strip())
          self.assertTrue(ret[0].strip().endswith("Exception: hehehe"))
  
subject: Remove dead test code