summaryrefslogtreecommitdiff
path: root/tests/stdlib
diff options
context:
space:
mode:
authorRyan Williams <rdw@lindenlab.com>2009-08-06 12:31:28 -0700
committerRyan Williams <rdw@lindenlab.com>2009-08-06 12:31:28 -0700
commit884dabd979dd7b7ff83300c657fc209b8b74972f (patch)
tree0ebd7435b3f218f3c3e045985f838a1ea6f82ed6 /tests/stdlib
parent702b867bb33edb575492aac8ba3e8785901dfeb9 (diff)
downloadeventlet-884dabd979dd7b7ff83300c657fc209b8b74972f.tar.gz
Moved from having a copy-n-pasted test_socket to using the system test_socket. This means we don't get quite so many gratuitous failures when running on differing versions.
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/test_socket.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/stdlib/test_socket.py b/tests/stdlib/test_socket.py
new file mode 100644
index 0000000..d7cfcff
--- /dev/null
+++ b/tests/stdlib/test_socket.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+
+from test import test_socket
+from test.test_socket import *
+
+from eventlet.green import socket
+from eventlet.green import select
+from eventlet.green import time
+from eventlet.green import thread
+from eventlet.green import threading
+
+test_socket.socket = socket
+test_socket.select = select
+test_socket.time = time
+test_socket.thread = thread
+test_socket.threading = threading
+
+if __name__ == "__main__":
+ test_main() \ No newline at end of file