phlax
phlax
Hi @rvanlaak this is something we have just begun looking at - although we are really only at the research and dev stage atm. You can see my notes and...
hi @rvanlaak i made a little progress with this last month - https://github.com/translate/pyliff - but in terms of support in Translate Tool Kit we are still some way off -...
@ta2-1 i dont think it is if source == target the format specifies that it should be untranslated - currently it doesnt do that
well - there is a choice of either changing this code - or just overriding the istranslated etc methods the latter is much preferable tbh as it means that if...
the most simple implementation would be to send the entire directory/context - ideally it would be able to filter according to any `.dockerignore` function, but not sure how easy that...
sounds like a plan, but im guessing we would want to avoid a dependency, so i guess it would be a matter of cribbing it
@candeira @aykut @ckcollab this would be amazingly helpful
@aykut the problem with doing bulk_create is that you need to know in advance which ones exist already - so requires an additional query i think
@scherrey i have found the following fixture allows db access in my doctests ``` @pytest.fixture def db_doctest(request, _django_cursor_wrapper): from django.test import TestCase as django_case _django_cursor_wrapper.enable() request.addfinalizer(_django_cursor_wrapper.disable) case = django_case(methodName='__init__') case._pre_setup()...
@alanjds sorry it took 3 years to answer 8/ - just noticed the question when i was re-discovering the solution. You can include fixtures in doctests with eg ``` >>>...