From 21069b55523a949a0d4b94848dfbaa54ab162434 Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Fri, 29 Sep 2017 01:20:57 -0700 Subject: [PATCH] Correct some typos There are some typos in zaqar, this patch fix it. Change-Id: I6a7be9c395c2a147d4ce2e4822cd3da51cea8990 --- zaqar/storage/redis/subscriptions.py | 4 ++-- zaqar/tests/helpers.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zaqar/storage/redis/subscriptions.py b/zaqar/storage/redis/subscriptions.py index 934cb56d0..c15e976ba 100644 --- a/zaqar/storage/redis/subscriptions.py +++ b/zaqar/storage/redis/subscriptions.py @@ -33,9 +33,9 @@ SUBSCRIPTION_IDS_SUFFIX = 'subscriptions' class SubscriptionController(base.Subscription): - """Implements subscription resource operations using MongoDB. + """Implements subscription resource operations using Redis. - Subscriptions are unique by project + queue/topic + subscriber. + Subscriptions are unique by project + queue + subscriber. Schema: 's': source :: six.text_type diff --git a/zaqar/tests/helpers.py b/zaqar/tests/helpers.py index 647e409b9..1560da458 100644 --- a/zaqar/tests/helpers.py +++ b/zaqar/tests/helpers.py @@ -236,7 +236,7 @@ def requires_redis(test_case): def requires_swift(test_case): """Decorator to flag a test case as being dependent on Swift. - Redis-specific tests will be skipped unless the ZAQAR_TEST_SWIFT + Swift-specific tests will be skipped unless the ZAQAR_TEST_SWIFT environment variable is set. If the variable is set, the tests will assume that Swift is accessible and configured properly. """