From 6642d85ebf22c4e715fff868fb69b83042ac51d8 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Mon, 22 Apr 2013 15:23:53 +0100 Subject: [PATCH] Adds functional tests for librabbitmq transport --- funtests/tests/test_librabbitmq.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 funtests/tests/test_librabbitmq.py diff --git a/funtests/tests/test_librabbitmq.py b/funtests/tests/test_librabbitmq.py new file mode 100644 index 00000000..57b406d6 --- /dev/null +++ b/funtests/tests/test_librabbitmq.py @@ -0,0 +1,14 @@ +from nose import SkipTest + +from funtests import transport + + +class test_librabbitmq(transport.TransportCase): + transport = 'librabbitmq' + prefix = 'librabbitmq' + + def before_connect(self): + try: + import librabbitmq # noqa + except ImportError: + raise SkipTest('librabbitmq not installed')