mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Merge pull request #583 from alphagov/stats-db-updates
Stats db updates
This commit is contained in:
@@ -370,6 +370,16 @@ def sample_notification(notify_db,
|
||||
return notification
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_statsd_inc(mocker):
|
||||
return mocker.patch('app.statsd_client.incr')
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_statsd_timing(mocker):
|
||||
return mocker.patch('app.statsd_client.timing')
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def sample_notification_history(notify_db,
|
||||
notify_db_session,
|
||||
|
||||
Reference in New Issue
Block a user