mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 19:04:33 -04:00
This changeset copies everything in notifications_utils to turn into a local project module. It includes dependency changes to account for this adjustment and the notifications_utils tests. It also fixes all of the import statements. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
11 lines
333 B
Python
11 lines
333 B
Python
import pytest
|
|
|
|
from app.utils.templates import get_sample_template
|
|
from notifications_utils.template import Template
|
|
|
|
|
|
@pytest.mark.parametrize("template_type", ["sms", "email"])
|
|
def test_get_sample_template_returns_template(template_type):
|
|
template = get_sample_template(template_type)
|
|
assert isinstance(template, Template)
|