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
df26478f
Commit
df26478f
authored
Aug 20, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Surround operator with spaces.
parent
c67a23bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
neo/tests/testBootstrap.py
neo/tests/testBootstrap.py
+2
-2
No files found.
neo/tests/testBootstrap.py
View file @
df26478f
...
@@ -43,7 +43,7 @@ class BootstrapManagerTests(NeoUnitTestBase):
...
@@ -43,7 +43,7 @@ class BootstrapManagerTests(NeoUnitTestBase):
# Tests
# Tests
def
testConnectionCompleted
(
self
):
def
testConnectionCompleted
(
self
):
address
=
(
"127.0.0.1"
,
self
.
master_port
)
address
=
(
"127.0.0.1"
,
self
.
master_port
)
conn
=
self
.
getFakeConnection
(
address
=
address
)
conn
=
self
.
getFakeConnection
(
address
=
address
)
self
.
bootstrap
.
current
=
self
.
app
.
nm
.
createMaster
(
address
=
address
)
self
.
bootstrap
.
current
=
self
.
app
.
nm
.
createMaster
(
address
=
address
)
self
.
bootstrap
.
connectionCompleted
(
conn
)
self
.
bootstrap
.
connectionCompleted
(
conn
)
...
@@ -51,7 +51,7 @@ class BootstrapManagerTests(NeoUnitTestBase):
...
@@ -51,7 +51,7 @@ class BootstrapManagerTests(NeoUnitTestBase):
def
testHandleNotReady
(
self
):
def
testHandleNotReady
(
self
):
# the primary is not ready
# the primary is not ready
address
=
(
"127.0.0.1"
,
self
.
master_port
)
address
=
(
"127.0.0.1"
,
self
.
master_port
)
conn
=
self
.
getFakeConnection
(
address
=
address
)
conn
=
self
.
getFakeConnection
(
address
=
address
)
self
.
bootstrap
.
current
=
self
.
app
.
nm
.
createMaster
(
address
=
address
)
self
.
bootstrap
.
current
=
self
.
app
.
nm
.
createMaster
(
address
=
address
)
self
.
bootstrap
.
notReady
(
conn
,
''
)
self
.
bootstrap
.
notReady
(
conn
,
''
)
...
...
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