Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /calkit_calkit /calkit /tests /test_templates.py
| """Tests for ``calkit.templates``.""" | |
| import calkit | |
| from calkit.templates.latex import GITIGNORE as LATEX_GITIGNORE | |
| def test_use_template(tmp_dir): | |
| calkit.templates.use_template("latex/article", "paper", title="Cool title") | |
| with open("paper/paper.tex") as f: | |
| txt = f.read() | |
| assert r"\title{Cool title}" in txt | |
| with open("paper/.gitignore") as f: | |
| txt = f.read() | |
| assert txt == LATEX_GITIGNORE | |
Xet Storage Details
- Size:
- 430 Bytes
- Xet hash:
- 81a57270d9b0aed4ce745d62fc5c3740b85d3f390b40820b022c618995e77b03
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.