encoding error in file

There is a non-printable character (c2a0) in a comment line, which
in a new Neutron test case causes a StringException. There are
three issues here.

1) Encoding issue in the file.
2) No detection of encoding issues in files.
3) Neutron tests mask the failure detail

This addresses the first issue. Bug 1334798 in Neutron was created
for the last issue. Oslo team is aware of the second issue.

Related-Bug: #1334798

Change-Id: I8cfa6c93085a26666a8b4bee06dcd52709d04a95
This commit is contained in:
Paul Michali 2014-06-26 14:19:52 -04:00 committed by Ben Nemec
parent 9c3c717799
commit 0cfafac246
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class FakeListener(base.Listener):
self._exchange_manager = exchange_manager
self._targets = targets
# NOTE(sileht): Ensure that all needed queues exists even the listener
# NOTE(sileht): Ensure that all needed queues exists even the listener
# have not been polled yet
for target in self._targets:
exchange = self._exchange_manager.get_exchange(target.exchange)