ericholscher / django-test-utils

Utilities for testing Django applications
http://django-test-utils.readthedocs.org/
MIT License
343 stars 69 forks source link

Testmaker tests have syntax error due to lack of escaping #9

Open Apreche opened 14 years ago

Apreche commented 14 years ago

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.

ericholscher commented 14 years ago

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!