MCPcopy
hub / github.com/lektor/lektor / get_unicode_builder

Function get_unicode_builder

tests/test_unicode.py:12–17  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

10
11
12def get_unicode_builder(tmpdir):
13 proj = Project.from_path(os.path.join(os.path.dirname(__file__), "ünicöde-project"))
14 env = Environment(proj)
15 pad = Database(env).new_pad()
16
17 return pad, Builder(pad, str(tmpdir.mkdir("output")))
18
19
20def test_unicode_project_folder(tmpdir):

Callers 3

test_bad_file_ignoredFunction · 0.85

Calls 6

EnvironmentClass · 0.90
DatabaseClass · 0.90
BuilderClass · 0.90
from_pathMethod · 0.80
mkdirMethod · 0.80
new_padMethod · 0.45

Tested by

no test coverage detected