mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Load testing client added
This commit is contained in:
18
app/clients/sms/loadtesting.py
Normal file
18
app/clients/sms/loadtesting.py
Normal 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'
|
||||
Reference in New Issue
Block a user