mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 16:48:31 -04:00
notify-34 fix skipped tests
This commit is contained in:
@@ -871,7 +871,6 @@ def test_dao_fetch_todays_stats_for_service_only_includes_during_utc(notify_db_s
|
||||
assert not stats.get('permanent-failure')
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Timezone handling")
|
||||
def test_dao_fetch_todays_stats_for_all_services_includes_all_services(notify_db_session):
|
||||
# two services, each with an email and sms notification
|
||||
service1 = create_service(service_name='service 1', email_from='service.1')
|
||||
@@ -910,7 +909,6 @@ def test_dao_fetch_todays_stats_for_all_services_only_includes_today(notify_db_s
|
||||
assert stats['failed'] == 1
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Timezone handling")
|
||||
def test_dao_fetch_todays_stats_for_all_services_groups_correctly(notify_db_session):
|
||||
service1 = create_service(service_name='service 1', email_from='service.1')
|
||||
service2 = create_service(service_name='service 2', email_from='service.2')
|
||||
@@ -937,7 +935,6 @@ def test_dao_fetch_todays_stats_for_all_services_groups_correctly(notify_db_sess
|
||||
service2.created_at, 'sms', 'created', 1) in stats
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Timezone handling")
|
||||
def test_dao_fetch_todays_stats_for_all_services_includes_all_keys_by_default(notify_db_session):
|
||||
template = create_template(service=create_service())
|
||||
create_notification(template=template, key_type=KEY_TYPE_NORMAL)
|
||||
@@ -950,7 +947,6 @@ def test_dao_fetch_todays_stats_for_all_services_includes_all_keys_by_default(no
|
||||
assert stats[0].count == 3
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Needs updating for TTS: Timezone handling")
|
||||
def test_dao_fetch_todays_stats_for_all_services_can_exclude_from_test_key(notify_db_session):
|
||||
template = create_template(service=create_service())
|
||||
create_notification(template=template, key_type=KEY_TYPE_NORMAL)
|
||||
|
||||
Reference in New Issue
Block a user