• Jérome Perrin's avatar
    test: explicitly stop HTTP server at the end of tests · 4d1168e1
    Jérome Perrin authored
    This prevents tracebacks during shutdown:
    
      Unhandled exception in thread started by <bound method Thread.__bootstrap of <Thread(Thread-1, stopped daemon 139820471113472)>>
      Traceback (most recent call last):
        File "soft/lib/python2.7/threading.py", line 774, in __bootstrap
          self.__bootstrap_inner()
        File "soft/lib/python2.7/threading.py", line 814, in __bootstrap_inner
          (self.name, _format_exc()))
        File "soft/lib/python2.7/traceback.py", line 242, in format_exc
          return ''.join(format_exception(etype, value, tb, limit))
        File "soft/lib/python2.7/traceback.py", line 141, in format_exception
          list = list + format_tb(tb, limit)
        File "soft/lib/python2.7/traceback.py", line 76, in format_tb
          return format_list(extract_tb(tb, limit))
        File "soft/lib/python2.7/traceback.py", line 100, in extract_tb
          linecache.checkcache(filename)
      TypeError: 'NoneType' object is not callable
    
    Also rename the method because this is not longer *Z*server.
    4d1168e1
testCMFActivity.py 112 KB