old_contents: # =============================================================================
  # COPYRIGHT 2013 Brain Corporation.
  # License under MIT license (see LICENSE file)
  # =============================================================================
  
  import pytest
  import logging
  from robustus.detail import perform_standard_test
  
  
  def test_ros_installation(tmpdir):
      """
      Install OpenCV and ROS. Check that OpenCV available after ROS activation.
      """
      logging.getLogger().setLevel(logging.INFO)
      tmpdir.chdir()
  
      imports = ['import rospy',
                 'from geometry_msgs.msg import Twist',
                 'import cv2',
                 'from cv2 import imread',
                 'import boto']
      dependencies = ['rosinstall==0.6.30',
                      'rosdep==0.10.23',
                      'rosinstall_generator==0.1.4',
                      'wstool==0.0.4',
                      'patchelf==6fb4cdb',
                      'numpy==1.7.1',
                      'OpenCV==2.4.7',  # OpenCV and boto are just to ensure that non-ROS requirements are also in venv
                      'boto==2.19.0']
      
      perform_standard_test('ros==hydro',
                            imports,
                            [],
                            dependencies,
                            postinstall_script='source test_env/bin/activate && source test_env/ros/setup.sh')
  
  
  if __name__ == '__main__':
      pytest.main('-s %s -n0' % __file__)
  
new_contents: # =============================================================================
  # COPYRIGHT 2013 Brain Corporation.
  # License under MIT license (see LICENSE file)
  # =============================================================================
  
  import pytest
  import logging
  from robustus.detail import perform_standard_test
  
  
  def test_ros_installation(tmpdir):
      """
      Install OpenCV and ROS. Check that OpenCV available after ROS activation.
      """
      logging.getLogger().setLevel(logging.INFO)
      tmpdir.chdir()
  
      imports = ['import rospy',
                 'import cv2',
                 'from cv2 import imread',
                 'import boto']
      dependencies = ['rosinstall==0.6.30',
                      'rosdep==0.10.23',
                      'rosinstall_generator==0.1.4',
                      'wstool==0.0.4',
                      'patchelf==6fb4cdb',
                      'numpy==1.7.1',
                      'OpenCV==2.4.7',  # OpenCV and boto are just to ensure that non-ROS requirements are also in venv
                      'boto==2.19.0']
      
      perform_standard_test('ros==hydro',
                            imports,
                            [],
                            dependencies,
                            postinstall_script='source test_env/bin/activate && source test_env/ros/setup.sh')
  
  
  if __name__ == '__main__':
      pytest.main('-s %s -n0' % __file__)
  
subject: disable geometry_msgs, because they aren't in ross_comm