django-whatever
django-whatever copied to clipboard
https://github.com/coagulant/django-whatever/issues/32
- issues/32 fixed.
- Generators are used instead of lists where possible (in
xunit.py
andmodels.py
only). -
'',join(...)
is changed tou''.join(...)
where possible (inxunit.py
andmodels.py
only). -
random.randint(0, total - 1)
is replaced withrandom.randrange(total)
, just clearer and more sematically correct. - Some whitspace is removed where is appropriate.
Your changes don't pass the testsuite.
python tests/manage.py ... FAILED (failures=11, errors=19)
Test requirements are in /tests/requirements.pip
I'm planning to refactor it and put it on Travis this week.
Fixed now, all test are passed. BTW, isn't it a good idea to convert all the str
things to unicode
? Or should they remain byte strings?