13 lines
229 B
Python
13 lines
229 B
Python
from __future__ import annotations
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture
|
|
def templar():
|
|
class FakeTemplar:
|
|
def template(self, template_string, *args, **kwargs):
|
|
return template_string
|
|
|
|
return FakeTemplar()
|