You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2015/12/16 10:34:06 UTC

qpid-proton git commit: PROTON-1049: check sasl setup before running tests

Repository: qpid-proton
Updated Branches:
  refs/heads/master fefb81d2c -> ff13d7699


PROTON-1049: check sasl setup before running tests


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

Branch: refs/heads/master
Commit: ff13d7699647b0453d324fe6431827a55fd8deb8
Parents: fefb81d
Author: Gordon Sim <gs...@redhat.com>
Authored: Wed Dec 16 09:27:54 2015 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Wed Dec 16 09:27:54 2015 +0000

----------------------------------------------------------------------
 tests/python/proton_tests/reactor.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/ff13d769/tests/python/proton_tests/reactor.py
----------------------------------------------------------------------
diff --git a/tests/python/proton_tests/reactor.py b/tests/python/proton_tests/reactor.py
index e8446ca..beff329 100644
--- a/tests/python/proton_tests/reactor.py
+++ b/tests/python/proton_tests/reactor.py
@@ -19,7 +19,7 @@ from __future__ import absolute_import
 #
 
 import time
-from .common import Test, SkipTest, TestServer, free_tcp_port
+from .common import Test, SkipTest, TestServer, free_tcp_port, ensureCanTestExtendedSASL
 from proton.reactor import Container, Reactor, ApplicationEvent, EventInjector
 from proton.handlers import CHandshaker, MessagingHandler
 from proton import Handler
@@ -508,12 +508,14 @@ class ContainerTest(Test):
         container.run()
 
     def test_authentication_via_url(self):
+        ensureCanTestExtendedSASL()
         test_handler = AuthenticationTestHandler()
         container = Container(test_handler)
         container.connect("%s:password@%s" % ("user%40proton", test_handler.url))
         container.run()
 
     def test_authentication_via_container_attributes(self):
+        ensureCanTestExtendedSASL()
         test_handler = AuthenticationTestHandler()
         container = Container(test_handler)
         container.user = "user@proton"
@@ -522,6 +524,7 @@ class ContainerTest(Test):
         container.run()
 
     def test_authentication_via_kwargs(self):
+        ensureCanTestExtendedSASL()
         test_handler = AuthenticationTestHandler()
         container = Container(test_handler)
         container.connect(test_handler.url, user="user@proton", password="password")


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