Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
e3bc9d1a
Commit
e3bc9d1a
authored
Jul 09, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_socketserver.py: use unittest instead of greentest
parent
efe67106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
greentest/test_socketserver.py
greentest/test_socketserver.py
+4
-4
No files found.
greentest/test_socketserver.py
View file @
e3bc9d1a
# Test suite for SocketServer.py
# converted to
green
test (Denis)
# converted to
unit
test (Denis)
from
gevent
import
monkey
monkey
.
patch_all
()
from
greentest
import
test_support
from
greentest.test_support
import
(
verbose
,
verify
,
TESTFN
,
TestSkipped
,
reap_children
)
reap_children
)
test_support
.
requires
(
'network'
)
from
SocketServer
import
*
...
...
@@ -16,7 +16,7 @@ import time
import
threading
import
sys
import
os
import
green
test
import
unit
test
NREQ
=
3
DELAY
=
0.05
...
...
@@ -209,7 +209,7 @@ def testall():
# client address so this cannot work:
##testloop(socket.AF_UNIX, dgramservers, MyDatagramHandler, testdgram)
class
Test
(
green
test
.
TestCase
):
class
Test
(
unit
test
.
TestCase
):
def
tearDown
(
self
):
sloppy_cleanup
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment