mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Revert "update notification rest tests"
This reverts commit 11919d9810.
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
import uuid
|
||||
from unittest.mock import ANY
|
||||
|
||||
import pytest
|
||||
from flask import json
|
||||
from freezegun import freeze_time
|
||||
|
||||
from app.models import Notification
|
||||
|
||||
from tests import create_authorization_header
|
||||
from tests.app.conftest import sample_template as create_sample_template
|
||||
from freezegun import freeze_time
|
||||
|
||||
|
||||
@pytest.mark.parametrize("reference", [None, "reference_from_client"])
|
||||
@@ -224,7 +220,5 @@ def test_send_notification_uses_priority_queue_when_template_is_marked_as_priori
|
||||
print(response.data)
|
||||
assert response.status_code == 201
|
||||
mocked.assert_called_once_with(
|
||||
(str(sample.service_id), notification_id, 'something_encrypted', '2016-01-01T11:00:00.000000Z'),
|
||||
kwargs=ANY,
|
||||
queue='notify'
|
||||
(str(sample.service_id), notification_id, 'something_encrypted', '2016-01-01T11:00:00.000000Z'), queue='notify'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user