mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
remove unused codes
This commit is contained in:
@@ -8,6 +8,7 @@ from app.dao.annual_billing_dao import (
|
||||
|
||||
def test_sample_service_has_free_sms_fragment_limit(notify_db_session, sample_service):
|
||||
|
||||
# when sample_service was created, it automatically create an entry in the annual_billing table
|
||||
free_limit = dao_get_free_sms_fragment_limit_for_year(sample_service.id, get_current_financial_year_start_year())
|
||||
|
||||
assert free_limit.free_sms_fragment_limit == 250000
|
||||
@@ -16,7 +17,7 @@ def test_sample_service_has_free_sms_fragment_limit(notify_db_session, sample_se
|
||||
|
||||
|
||||
def test_dao_update_free_sms_fragment_limit(notify_db_session, sample_service):
|
||||
year = 2016
|
||||
year = 1999
|
||||
old_limit = 1000
|
||||
new_limit = 9999
|
||||
|
||||
|
||||
@@ -171,8 +171,7 @@ def test_should_remove_user_from_service(sample_user):
|
||||
email_from="email_from",
|
||||
message_limit=1000,
|
||||
restricted=False,
|
||||
created_by=sample_user,
|
||||
free_sms_fragment_limit=9999)
|
||||
created_by=sample_user)
|
||||
dao_create_service(service, sample_user)
|
||||
new_user = User(
|
||||
name='Test User',
|
||||
|
||||
Reference in New Issue
Block a user