Removed Port global variable.
Change-Id: I89c45823a2c7fe0185f2e5aacca8cc4174166f72
This commit is contained in:
parent
979eb700d0
commit
59cb7cdda3
|
@ -562,7 +562,6 @@ class ConductorEndpoint(object):
|
||||||
port_socat = random.randint(10000, 20000)
|
port_socat = random.randint(10000, 20000)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
global Port
|
|
||||||
Port.insert(0, port_socat)
|
Port.insert(0, port_socat)
|
||||||
r_tcp_port = str(port_socat)
|
r_tcp_port = str(port_socat)
|
||||||
|
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.3.1
|
minversion = 2.3.1
|
||||||
envlist = py35,pep8
|
envlist = py3,pep8
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -22,8 +22,8 @@ commands =
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands = flake8 {posargs}
|
commands = flake8 {posargs}
|
||||||
|
|
||||||
[testenv:py35]
|
[testenv:py3]
|
||||||
basepython = python3.5
|
basepython = python3
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
|
Loading…
Reference in New Issue