old_contents: #!/usr/bin/env python
  import sys
  sys.path.append('lib/sdks/google_appengine_1.7.1/google_appengine')
  
  import dev_appserver
  import unittest
  
  dev_appserver.fix_sys_path()
  
  suites = unittest.loader.TestLoader().discover("src/givabit", pattern="*_test.py")
  
  if len(sys.argv) > 1:
      def GetTestCases(caseorsuite, acc=None):
          if acc is None:
              acc = []
          if isinstance(caseorsuite, unittest.TestCase):
              acc.append(caseorsuite)
              return acc
          for child in caseorsuite:
              GetTestCases(child, acc)
          return acc
      all_tests = GetTestCases(suites)
      tests = [test for test in all_tests if test.id().startswith(sys.argv[1])]
      suites = unittest.TestSuite(tests)
  
  unittest.TextTestRunner(verbosity=1).run(suites)
  
new_contents: #!/usr/bin/env python
  import sys
  sys.path.append('lib/sdks/google_appengine_1.7.1/google_appengine')
  
  import dev_appserver
  import unittest
  
  dev_appserver.fix_sys_path()
  
  suites = unittest.loader.TestLoader().discover("src/givabit", pattern="*_test.py")
  
  if len(sys.argv) > 1:
      def GetTestCases(caseorsuite, acc=None):
          if acc is None:
              acc = []
          if isinstance(caseorsuite, unittest.TestCase):
              acc.append(caseorsuite)
              return acc
          for child in caseorsuite:
              GetTestCases(child, acc)
          return acc
      all_tests = GetTestCases(suites)
      tests = [test for test in all_tests if test.id().startswith(sys.argv[1]) or test.id().endswith(sys.argv[1])]
      suites = unittest.TestSuite(tests)
  
  unittest.TextTestRunner(verbosity=1).run(suites)
  
subject: Support running test just by test name