old_contents: #!/usr/bin/env python3
  
  import unittest
  import amulet
  
  
  class TestDeploy(unittest.TestCase):
      """
      Trivial deployment test for Apache Hadoop YARN Master.
  
      This charm cannot do anything useful by itself, so integration testing
      is done in the bundle.
      """
  
      def test_deploy(self):
          self.d = amulet.Deployment(series='trusty')
          self.d.add('yarn-master', 'apache-hadoop-yarn-master')
          self.d.setup(timeout=900)
          self.d.sentry.wait(timeout=1800)
          self.unit = self.d.sentry['yarn-master'][0]
  
  
  if __name__ == '__main__':
      unittest.main()
  
new_contents: #!/usr/bin/env python3
  
  import unittest
  import amulet
  
  
  class TestDeploy(unittest.TestCase):
      """
      Trivial deployment test for Apache Hadoop ResourceManager.
  
      This charm cannot do anything useful by itself, so integration testing
      is done in the bundle.
      """
  
      def test_deploy(self):
          self.d = amulet.Deployment(series='trusty')
          self.d.add('resourcemanager', 'apache-hadoop-resourcemanager')
          self.d.setup(timeout=900)
          self.d.sentry.wait(timeout=1800)
          self.unit = self.d.sentry['resourcemanager'][0]
  
  
  if __name__ == '__main__':
      unittest.main()
  
subject: Fix test