old_contents: import wia
  import os
  
  def all():
      path = os.path.dirname(os.path.realpath(__file__))
      return unittest2.defaultTestLoader.discover(path)
  
  def resources():
      path = os.path.dirname(os.path.realpath(__file__))
      return unittest2.defaultTestLoader.discover(
          os.path.join(path, "resources"))
  
new_contents: try:
      import unittest2 as unittest
  except ImportError:
      import unittest
  
  import os
  
  def all():
      path = os.path.dirname(os.path.realpath(__file__))
      return unittest.defaultTestLoader.discover(path)
  
  def resources():
      path = os.path.dirname(os.path.realpath(__file__))
      return unittest.defaultTestLoader.discover(
          os.path.join(path, "resources"))
  
subject: Fix integration tests