old_contents: """Test LEDBAT implementation in iperf-ish way"""
  import logging
  import argparse
  
  from testledbat import test_ledbat
  
  logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(asctime)s %(message)s')
  
  def main():
      """Main entrance point, mainly to stop PyLint from nagging"""
  
      # Setup the command line parser
      parser = argparse.ArgumentParser(description='LEDBAT Test program')
  
      parser.add_argument('--role', help='Role of the instance {client|server}', default='server')
      parser.add_argument('--remote', help='IP Address of the test server')
      parser.add_argument('--debug', help='Enable verbose output', action='store_true')
  
      # Parse the command line params
      args = parser.parse_args()
  
      args.role = 'client'
      args.remote = '10.51.32.211'
      args.debug = True
  
      # Run the test
      test_ledbat(args)
  
  # Move scope to main() (I hate PyLint...)
  if __name__ == '__main__':
      main()
  
new_contents: """Test LEDBAT implementation in iperf-ish way"""
  import logging
  import argparse
  
  from testledbat import test_ledbat
  
  logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(asctime)s %(message)s')
  
  def main():
      """Main entrance point, mainly to stop PyLint from nagging"""
  
      # Setup the command line parser
      parser = argparse.ArgumentParser(description='LEDBAT Test program')
  
      parser.add_argument('--role', help='Role of the instance {client|server}', default='server')
      parser.add_argument('--remote', help='IP Address of the test server')
      parser.add_argument('--debug', help='Enable verbose output', action='store_true')
  
      # Parse the command line params
      args = parser.parse_args()
  
      # Run the test
      test_ledbat(args)
  
  # Move scope to main() (I hate PyLint...)
  if __name__ == '__main__':
      main()
  
subject: Remove hardcodded connection parameters