mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-09 04:43:54 -05:00
11 lines
333 B
Python
11 lines
333 B
Python
import pytest
|
|
from notifications_utils.template import Template
|
|
|
|
from app.utils.templates import get_sample_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)
|