old_contents: import pytest
  
  import pyrostest
  
  class TestSpinUp(pyrostest.RosTest):
      def noop(self):
          pass
  
      @pyrostest.launch_node('pyrostest', 'add_one.py')
      def launches_node(self):
          pass
  
  class FailureCases(pyrostest.RosTest):
      @pytest.mark.xfail(strict=True)
      @pyrostest.launch_node('this_isnt_a_project', 'add_one.py')
      def no_rospackage(self):
          pass
  
  
      @pytest.mark.xfail(strict=True)
      @pyrostest.launch_node('pyrostest', 'this_isnt_a_rosnode.py')
      def no_node(self):
          pass
  
      
      @pytest.mark.xfail(strict=True)
      @pyrostest.with_launch_file('pyrostest', 'does_not_exist')
      def no_launch_file(self):
          pass
  
      @pytest.mark.xfail(strict=True)
      @pyrostest.with_launch_file('not_a_package', 'exists')
      def no_launch_package(self):
          pass
  
  
new_contents: import pytest
  
  import pyrostest
  
  class TestSpinUp(pyrostest.RosTest):
      def test_noop(self):
          pass
  
      @pyrostest.launch_node('pyrostest', 'add_one.py')
      def test_launches_node(self):
          pass
  
  class TestFailureCases(pyrostest.RosTest):
      @pytest.mark.xfail(strict=True)
      @pyrostest.launch_node('this_isnt_a_project', 'add_one.py')
      def test_no_rospackage(self):
          pass
  
  
      @pytest.mark.xfail(strict=True)
      @pyrostest.launch_node('pyrostest', 'this_isnt_a_rosnode.py')
      def test_no_node(self):
          pass
  
      
      @pytest.mark.xfail(strict=True)
      @pyrostest.with_launch_file('pyrostest', 'does_not_exist')
      def test_no_launch_file(self):
          pass
  
      @pytest.mark.xfail(strict=True)
      @pyrostest.with_launch_file('not_a_package', 'exists')
      def test_no_launch_package(self):
          pass
  
  
subject: Rename tests so that they run.