Browse Source

String to byte conversion should provide the encoding type

Change-Id: Id988cab87d32d5721cd91152df194fbb6fa703c5
Closes-Bug: #1887385
(cherry picked from commit 7a56b8f3bc)
changes/16/744216/1
Rodolfo Alonso Hernandez 1 year ago
parent
commit
18f019984a
  1. 2
      neutron/tests/functional/test_server.py

2
neutron/tests/functional/test_server.py

@ -228,7 +228,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, bytes(str(self.port), 'utf-8'))
server.wait()

Loading…
Cancel
Save