Added continuous build links to index, tinkered with stdlib tests some more.
This commit is contained in:
@@ -99,7 +99,9 @@ easy_install eventlet
|
||||
<h3><a href="">Links</a></h3>
|
||||
<ul>
|
||||
<li><a class="reference external" href="doc/">Documentation</a></li>
|
||||
<li><a class="reference external" href="https://lists.secondlife.com/pipermail/eventletdev/">Mailing list archives</a></li>
|
||||
<li><a class="reference external" href="https://lists.secondlife.com/pipermail/eventletdev/">Mailing List Archives</a></li>
|
||||
<li><a class="reference external" href="http://eventlet.net/hudson/">Continuous Builds</a></li>
|
||||
<li><a class="reference external" href="http://bitbucket.org/which_linden/eventlet/issues/new/">Bug Report Form</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
""" Convenience module for running standard library tests with nose. The standard tests are not especially homogeneous, but they mostly expose a test_main method that does the work of selecting which tests to run based on what is supported by the platform. On its own, Nose would run all possible tests and many would fail; therefore we collect all of the test_main methods here in one module and Nose can run it. Hopefully in the future the standard tests get rewritten to be more self-contained.
|
||||
""" Convenience module for running standard library tests with nose. The standard tests are not especially homogeneous, but they mostly expose a test_main method that does the work of selecting which tests to run based on what is supported by the platform. On its own, Nose would run all possible tests and many would fail; therefore we collect all of the test_main methods here in one module and Nose can run it. Hopefully in the future the standard tests get rewritten to be more nosey.
|
||||
|
||||
Many of these tests make connections to external servers, causing failures when run while disconnected from the internet.
|
||||
Many of these tests make connections to external servers, and all.py tries to skip these tests rather than failing them, so you can get some work done on a plane.
|
||||
"""
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ def import_main(g, name):
|
||||
|
||||
# quick and dirty way of testing whether we can access
|
||||
# remote hosts; any tests that try internet connections
|
||||
# will fail if we cannot
|
||||
# will fail if we cannot
|
||||
import socket
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
try:
|
||||
@@ -48,7 +48,7 @@ import_main(globals(), 'test_socketserver')
|
||||
if have_network_access:
|
||||
import_main(globals(), 'test_ssl')
|
||||
import_main(globals(), 'test_thread')
|
||||
import_main(globals(), 'test_threading')
|
||||
#import_main(globals(), 'test_threading')
|
||||
import_main(globals(), 'test_threading_local')
|
||||
if have_network_access:
|
||||
import_main(globals(), 'test_timeout')
|
||||
|
@@ -8,6 +8,7 @@ patcher.inject('test.test_urllib2',
|
||||
('urllib2', urllib2))
|
||||
|
||||
HandlerTests.test_file = patcher.patch_function(HandlerTests.test_file, ('socket', socket))
|
||||
OpenerDirectorTests.test_badly_named_methods = patcher.patch_function(OpenerDirectorTests.test_badly_named_methods, ('urllib2', urllib2))
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
Reference in New Issue
Block a user