old_contents: import unittest
  from pabot.pabot import _parse_args
  
  class PabotTests(unittest.TestCase):
  
      def test_parse_args(self):
          options, datasources, pabot_args = _parse_args(['--command', 'my_own_command.sh', '--end-command',
                   '--processes', '12',
                   '--verbose',
                   '--resourcefile', 'resourcefile.ini',
                   '--pabotlib',
                   '--pabotlibhost', '123.123.233.123',
                   '--pabotlibport', '4562',
                   '--suitesfrom', 'some.xml',
                   'suite'])
          self.assertEqual(pabot_args['command'], 'my_own_command.sh')
          self.assertEqual(pabot_args['processes'], 12)
          self.assertEqual(pabot_args['resourcefile'], 'resourcefile.ini')
          self.assertEqual(pabot_args['pabotlib'], True)
          self.assertEqual(pabot_args['pabotlibhost'], '123.123.233.123')
          self.assertEqual(pabot_args['pabotlibport'], 4562)
          self.assertEqual(pabot_args['suitesfrom'], 'some.xml')
          self.assertEqual(datasources, ['suite'])
  
  
  if __name__ == '__main__':
      unittest.main()
new_contents: import unittest
  from pabot.pabot import _parse_args
  
  class PabotTests(unittest.TestCase):
  
      def test_parse_args(self):
          options, datasources, pabot_args = _parse_args(['--command', 'my_own_command.sh', '--end-command',
                   '--processes', '12',
                   '--verbose',
                   '--resourcefile', 'resourcefile.ini',
                   '--pabotlib',
                   '--pabotlibhost', '123.123.233.123',
                   '--pabotlibport', '4562',
                   '--suitesfrom', 'some.xml',
                   'suite'])
          self.assertEqual(pabot_args['command'], ['my_own_command.sh'])
          self.assertEqual(pabot_args['processes'], 12)
          self.assertEqual(pabot_args['resourcefile'], 'resourcefile.ini')
          self.assertEqual(pabot_args['pabotlib'], True)
          self.assertEqual(pabot_args['pabotlibhost'], '123.123.233.123')
          self.assertEqual(pabot_args['pabotlibport'], 4562)
          self.assertEqual(pabot_args['suitesfrom'], 'some.xml')
          self.assertEqual(datasources, ['suite'])
  
  
  if __name__ == '__main__':
      unittest.main()
subject: fix test