Fix integration tests with CRLF.
This commit is contained in:
parent
0f69487f22
commit
7eeabb2467
@ -101,7 +101,7 @@ class HTTPBin(QObject):
|
||||
"""Read the log from httpbin's stdout and parse it."""
|
||||
while self.proc.canReadLine():
|
||||
line = self.proc.readLine()
|
||||
line = bytes(line).decode('utf-8').rstrip('\n')
|
||||
line = bytes(line).decode('utf-8').rstrip('\r\n')
|
||||
print(line)
|
||||
|
||||
if line == (' * Running on http://127.0.0.1:{}/ (Press CTRL+C to '
|
||||
|
Loading…
Reference in New Issue
Block a user