qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [32/50] [abbrv] qpid-proton git commit: PROTON-1049: check sasl setup before running tests
Date Wed, 30 Dec 2015 21:13:20 GMT
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/go1
Commit: ff13d7699647b0453d324fe6431827a55fd8deb8
Parents: fefb81d
Author: Gordon Sim <gsim@redhat.com>
Authored: Wed Dec 16 09:27:54 2015 +0000
Committer: Gordon Sim <gsim@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


Mime
View raw message