Load testing client added

This commit is contained in:
Martyn Inglis
2016-05-11 11:34:46 +01:00
parent 52c627c6f1
commit 06bfe81329
7 changed files with 59 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
import logging
from app.clients.sms.firetext import (
FiretextClient
)
logger = logging.getLogger(__name__)
class LoadtestingClient(FiretextClient):
'''
Loadtest sms client.
'''
def init_app(self, config, *args, **kwargs):
super(FiretextClient, self).__init__(*args, **kwargs)
self.api_key = config.config.get('LOADTESTING_API_KEY')
self.from_number = config.config.get('LOADTESTING_NUMBER')
self.name = 'loadtesting'