panosl / django-currencies

django-currencies allows you to define different currencies, and includes template tags/filters to allow easy conversion between them.
http://pypi.python.org/pypi/django-currencies
BSD 3-Clause "New" or "Revised" License
94 stars 81 forks source link

Fix tests discovering and running #32

Closed generalov closed 7 years ago

generalov commented 8 years ago

I've fixed tests discovering for python2.6 and added unittest2 into tests_requires for old pythons.

I've added tox.ini to run tests locally under different Python and Django environments.

I've removed the 'currency.tests' from INSTALLED_APPS because it looks like a hack and required additional workarounds (put a models.py into the tests package for old Django's). Test fixtures are loaded with absolute path now.

panosl commented 7 years ago

Damn it, can you please update this to fix any conflicts with develop branch?

generalov commented 7 years ago

I've updated this PR.