[svn r85] Minor bug in refactoring prevented db_pool_test from being run standalone on systems with MySQLdb installed. Also commented out the ab test cause finding the ab binary was not working most of the time, and when it was, it was spewing tons of output all over the place.
This commit is contained in:
@@ -304,6 +304,6 @@ if __name__ == '__main__':
|
||||
except ImportError:
|
||||
print "Unable to import MySQLdb, skipping db_pool_test."
|
||||
else:
|
||||
unittest.main()
|
||||
tests.main()
|
||||
else:
|
||||
import MySQLdb
|
||||
|
@@ -129,7 +129,7 @@ class TestHttpd(tests.TestCase):
|
||||
self.assertRaises(ConnectionClosed, read_http, sock)
|
||||
sock.close()
|
||||
|
||||
def test_005_run_apachebench(self):
|
||||
def skip_test_005_run_apachebench(self):
|
||||
url = 'http://localhost:12346/'
|
||||
# ab is apachebench
|
||||
out = processes.Process(tests.find_command('ab'),
|
||||
|
Reference in New Issue
Block a user