Browse Source

Merge "String to byte conversion should provide the encoding type" into stable/stein

changes/96/750396/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
59f8fd86ce
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      neutron/tests/functional/test_server.py

+ 2
- 1
neutron/tests/functional/test_server.py View File

@@ -24,6 +24,7 @@ import mock
from neutron_lib import worker as neutron_worker
from oslo_config import cfg
import psutil
import six

from neutron.common import utils
from neutron import manager
@@ -221,7 +222,7 @@ class TestWsgiServer(TestNeutronServer):

# Memorize a port that was chosen for the service
self.port = server.port
os.write(self.pipeout, bytes(self.port))
os.write(self.pipeout, six.b(str(self.port)))

server.wait()



Loading…
Cancel
Save