summaryrefslogtreecommitdiff
path: root/python/tests_0-10/query.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests_0-10/query.py')
-rw-r--r--python/tests_0-10/query.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/tests_0-10/query.py b/python/tests_0-10/query.py
index 0bbfb079cc..311df84096 100644
--- a/python/tests_0-10/query.py
+++ b/python/tests_0-10/query.py
@@ -30,6 +30,11 @@ class QueryTests(TestBase010):
result = session.queue_query(queue="my-queue")
self.assertEqual("my-queue", result.queue)
+ def test_queue_query_unknown(self):
+ session = self.session
+ result = session.queue_query(queue="I don't exist")
+ self.assert_(not result.queue)
+
def test_exchange_query(self):
"""
Test that the exchange_query method works as expected