django-test-utils icon indicating copy to clipboard operation
django-test-utils copied to clipboard

Testmaker tests have syntax error due to lack of escaping

Open Apreche opened this issue 14 years ago • 1 comments

The automatically generated testmaker tests do not work because of a syntax error. The syntax error is because the context variables contain single quotes that are not escaped properly.

Apreche avatar Aug 03 '10 14:08 Apreche

Hrm, this is a persistent problem and rather annoying, because the tests look really ugly with triple quotes around them. I guess I could look at properly escaping variables somehow. Thanks for the report!

ericholscher avatar Aug 07 '10 05:08 ericholscher