Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
00b76f60
Commit
00b76f60
authored
Aug 12, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
neosimple: new --bind_ip option
parent
f49bf829
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
neo/tests/functional/__init__.py
neo/tests/functional/__init__.py
+3
-2
No files found.
neo/tests/functional/__init__.py
View file @
00b76f60
...
@@ -248,7 +248,7 @@ class NEOCluster(object):
...
@@ -248,7 +248,7 @@ class NEOCluster(object):
db_user
=
DB_USER
,
db_password
=
''
,
db_user
=
DB_USER
,
db_password
=
''
,
cleanup_on_delete
=
False
,
temp_dir
=
None
,
clear_databases
=
True
,
cleanup_on_delete
=
False
,
temp_dir
=
None
,
clear_databases
=
True
,
adapter
=
os
.
getenv
(
'NEO_TESTS_ADAPTER'
),
adapter
=
os
.
getenv
(
'NEO_TESTS_ADAPTER'
),
address_type
=
ADDRESS_TYPE
,
address_type
=
ADDRESS_TYPE
,
bind_ip
=
None
,
):
):
if
not
adapter
:
if
not
adapter
:
adapter
=
'MySQL'
adapter
=
'MySQL'
...
@@ -269,7 +269,8 @@ class NEOCluster(object):
...
@@ -269,7 +269,8 @@ class NEOCluster(object):
else
:
else
:
assert
False
,
adapter
assert
False
,
adapter
self
.
address_type
=
address_type
self
.
address_type
=
address_type
self
.
local_ip
=
local_ip
=
IP_VERSION_FORMAT_DICT
[
self
.
address_type
]
self
.
local_ip
=
local_ip
=
bind_ip
or
\
IP_VERSION_FORMAT_DICT
[
self
.
address_type
]
self
.
setupDB
(
clear_databases
)
self
.
setupDB
(
clear_databases
)
self
.
process_dict
=
{}
self
.
process_dict
=
{}
self
.
temp_dir
=
temp_dir
self
.
temp_dir
=
temp_dir
...
...
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