You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2015/06/22 14:57:22 UTC

[19/34] qpid-proton git commit: PROTON-490: have tests ignore platform-specific line endings

PROTON-490: have tests ignore platform-specific line endings


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/45238b46
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/45238b46
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/45238b46

Branch: refs/heads/master
Commit: 45238b464507871e732ceb363f8fb23b0abdf8df
Parents: 758295d
Author: Ken Giusti <kg...@apache.org>
Authored: Fri May 1 12:55:38 2015 -0400
Committer: Ken Giusti <kg...@apache.org>
Committed: Fri May 1 12:55:38 2015 -0400

----------------------------------------------------------------------
 tests/python/proton_tests/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/45238b46/tests/python/proton_tests/common.py
----------------------------------------------------------------------
diff --git a/tests/python/proton_tests/common.py b/tests/python/proton_tests/common.py
index be9c75a..4f23c13 100644
--- a/tests/python/proton_tests/common.py
+++ b/tests/python/proton_tests/common.py
@@ -418,7 +418,7 @@ class MessengerReceiver(MessengerApp):
     def _ready(self):
         """ wait for subscriptions to complete setup. """
         r = self._process.stdout.readline()
-        assert r == "READY" + os.linesep, "Unexpected input while waiting for receiver to initialize: %s" % r
+        assert r.strip() == "READY", "Unexpected input while waiting for receiver to initialize: %s" % r
 
 class MessengerSenderC(MessengerSender):
     def __init__(self):


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org