Artifact [2ff4ab7927]
Artifact 2ff4ab79271ed8820fa244693e1a065f569d897f:
- File test/mymemory.py — part of check-in [00e5bb6299] at 2022-10-22 22:17:32 on branch trunk — compact via fixture (user: mario size: 334)
# encoding: utf-8 import pytest, os import translationbackends as tb # semi fixture kw = { "lang": "fr", "from": "de", "email": os.environ.get("EMAIL"), } @pytest.mark.often_yields_none def mymem(params): params.update(kw) t = tb.MyMemory(**params) assert t.translate("apfelkuchen") == "Tarte aux pommes"