MCPcopy Create free account
hub / github.com/alphagov/notifications-api / sample_sms_code

Function sample_sms_code

tests/app/conftest.py:141–144  ·  view source on GitHub ↗
(notify_db_session)

Source from the content-addressed store, hash-verified

139def sample_sms_code(notify_db_session):
140 code, txt_code = create_code(notify_db_session, code_type="sms")
141 code.txt_code = txt_code
142 return code
143
144
145@pytest.fixture(scope="function")
146def sample_service(sample_user):
147 service_name = "Sample service"

Callers

nothing calls this directly

Calls 1

create_codeFunction · 0.85

Tested by

no test coverage detected