Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
c6b73bcb
Commit
c6b73bcb
authored
Dec 20, 2011
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted comment cleanup.
parent
91c013be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
neo/tests/testConnection.py
neo/tests/testConnection.py
+3
-3
No files found.
neo/tests/testConnection.py
View file @
c6b73bcb
...
@@ -506,7 +506,7 @@ class ConnectionTests(NeoUnitTestBase):
...
@@ -506,7 +506,7 @@ class ConnectionTests(NeoUnitTestBase):
self
.
_checkReadBuf
(
bc
,
''
)
self
.
_checkReadBuf
(
bc
,
''
)
def
test_Connection_writable1
(
self
):
def
test_Connection_writable1
(
self
):
# with
pending operation after send
# with pending operation after send
def
send
(
self
,
data
):
def
send
(
self
,
data
):
return
len
(
data
)
/
2
return
len
(
data
)
/
2
DoNothingConnector
.
send
=
send
DoNothingConnector
.
send
=
send
...
@@ -530,7 +530,7 @@ class ConnectionTests(NeoUnitTestBase):
...
@@ -530,7 +530,7 @@ class ConnectionTests(NeoUnitTestBase):
self
.
_checkClose
(
0
)
self
.
_checkClose
(
0
)
def
test_Connection_writable2
(
self
):
def
test_Connection_writable2
(
self
):
# with
no longer
pending operation after send
# with
out
pending operation after send
def
send
(
self
,
data
):
def
send
(
self
,
data
):
return
len
(
data
)
return
len
(
data
)
DoNothingConnector
.
send
=
send
DoNothingConnector
.
send
=
send
...
@@ -554,7 +554,7 @@ class ConnectionTests(NeoUnitTestBase):
...
@@ -554,7 +554,7 @@ class ConnectionTests(NeoUnitTestBase):
self
.
_checkClose
(
0
)
self
.
_checkClose
(
0
)
def
test_Connection_writable3
(
self
):
def
test_Connection_writable3
(
self
):
# with
no longer
pending operation after send and aborted set to true
# with
out
pending operation after send and aborted set to true
def
send
(
self
,
data
):
def
send
(
self
,
data
):
return
len
(
data
)
return
len
(
data
)
DoNothingConnector
.
send
=
send
DoNothingConnector
.
send
=
send
...
...
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