mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 21:48:49 -04:00
clean flake8 except provider code
This commit is contained in:
@@ -43,6 +43,7 @@ def setup_function(_function):
|
||||
# state of the cache is not shared between tests.
|
||||
send_to_providers.provider_cache.clear()
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Update with new providers")
|
||||
def test_provider_to_use_should_return_random_provider(mocker, notify_db_session):
|
||||
mmg = get_provider_details_by_identifier('mmg')
|
||||
@@ -72,6 +73,7 @@ def test_provider_to_use_should_cache_repeated_calls(mocker, notify_db_session):
|
||||
assert all(result == results[0] for result in results)
|
||||
assert len(mock_choices.call_args_list) == 1
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Update with new providers")
|
||||
@pytest.mark.parametrize('international_provider_priority', (
|
||||
# Since there’s only one international provider it should always
|
||||
@@ -592,6 +594,7 @@ def test_should_not_update_notification_if_research_mode_on_exception(
|
||||
assert persisted_notification.billable_units == 0
|
||||
assert update_mock.called
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Update with new providers")
|
||||
@pytest.mark.parametrize("starting_status, expected_status", [
|
||||
("delivered", "delivered"),
|
||||
|
||||
Reference in New Issue
Block a user