Robert Brewer committed 691a6da

Test coverage fixes.

Comments (0)

Files changed (1)


 import sys
 import os, os.path
-from cherrypy.test import webtest
 import getopt
         # exactly like each test module does, because a relative import
         # would stick a second instance of webtest in sys.modules,
         # and we wouldn't be able to globally override the port anymore.
-        from cherrypy.test import helper
+        from cherrypy.test import helper, webtest
         webtest.WebCase.PORT = self.port
         webtest.WebCase.harness = self
     default_server = "wsgi"
     port = 8080
+    basedir = None
     def __init__(self, available_tests, args=sys.argv[1:]):
         """Constructor to populate the TestHarness instance.