old_contents: #!/usr/bin/env python
  # encoding: utf-8
  # ----------------------------------------------------------------------------
  
  import os
  import sys
  
  parent = os.path.dirname(os.path.abspath(__file__))
  sys.path.insert(0, parent)
  os.environ['DJANGO_SETTINGS_MODULE'] = 'django_mailer.testapp.settings'
  
  from django.conf import settings
  from django.test.simple import DjangoTestSuiteRunner
  from django.utils.functional import empty
  
  
  def runtests(*test_args):
      test_args = test_args or ['testapp']
      parent = os.path.dirname(os.path.abspath(__file__))
      sys.path.insert(0, parent)
      runner = DjangoTestSuiteRunner(verbosity=1, interactive=True,
                                     failfast=False)
      failures = runner.run_tests(test_args)
      sys.exit(failures)
  
  
  if __name__ == '__main__':
      runtests()
  
new_contents: #!/usr/bin/env python
  # encoding: utf-8
  # ----------------------------------------------------------------------------
  
  import os
  import sys
  
  parent = os.path.dirname(os.path.abspath(__file__))
  sys.path.insert(0, parent)
  os.environ['DJANGO_SETTINGS_MODULE'] = 'django_mailer.testapp.settings'
  
  from django.test.simple import DjangoTestSuiteRunner
  
  
  def runtests(*test_args):
      test_args = test_args or ['testapp']
      parent = os.path.dirname(os.path.abspath(__file__))
      sys.path.insert(0, parent)
      runner = DjangoTestSuiteRunner(verbosity=1, interactive=True,
                                     failfast=False)
      failures = runner.run_tests(test_args)
      sys.exit(failures)
  
  
  if __name__ == '__main__':
      runtests()
  
subject: remove uneed configuration