Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

refactor templatetag tests #1381

digi604 opened this Issue Aug 10, 2012 · 0 comments


None yet
1 participant

digi604 commented Aug 10, 2012

Ojji write here #1380

Not sure if this is in the scope of this pull request, but test_page_attribute is in desperate need of refactoring. That single method tests 10 different things and does so by string matching.

While not perfect, this is how I test classy tags https://github.com/ojii/django-classy-tags/blob/master/classytags/tests.py, no actual template rendering involved, just checking if it can parse a bunch of arguments and gives expected results.

@digi604 digi604 referenced this issue Aug 10, 2012


As tag #1380

@digi604 digi604 closed this Jul 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment