Added tests for setting and fetching from redis respecting the enabled flag.

This commit is contained in:
Martyn Inglis
2016-11-10 13:22:38 +00:00
parent aabda3f83e
commit 6c27f8023e
4 changed files with 52 additions and 8 deletions

View File

@@ -1,24 +1,24 @@
import uuid
import os
import uuid
from flask import request, url_for, g, jsonify
from flask import Flask, _request_ctx_stack
from flask import request, url_for, g, jsonify
from flask.ext.sqlalchemy import SQLAlchemy
from flask_marshmallow import Marshmallow
from monotonic import monotonic
from werkzeug.local import LocalProxy
from notifications_utils import logging
from werkzeug.local import LocalProxy
from app.celery.celery import NotifyCelery
from app.clients import Clients
from app.clients.sms.mmg import MMGClient
from app.clients.email.aws_ses import AwsSesClient
from app.clients.redis.redis_client import RedisClient
from app.clients.sms.firetext import FiretextClient
from app.clients.sms.loadtesting import LoadtestingClient
from app.clients.email.aws_ses import AwsSesClient
from app.clients.sms.mmg import MMGClient
from app.clients.statsd.statsd_client import StatsdClient
from app.clients.redis.redis_client import RedisClient
from app.encryption import Encryption
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%f"
DATE_FORMAT = "%Y-%m-%d"