[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:
which.linden
2008-02-04 20:34:59 -05:00
parent 00fbec616a
commit f18cc0367e
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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'),