Fixes 2 python issues within the tests

* Fixes python 3 use (syntax)
* Fixes check on /usr/bin/django-admin.py (regression from #480)
Won't this break python 2.6 and older?

I'm having a hard time finding the answer, but maybe you know. What version of python was the print function added? Google says 3.0, but it works in 2.7.6.