tangentlabs/django-oscar — pull request #265 by elbaschid (2012-07-31 23:56:02+00:00)
Title: removed hardcoded imports in helpers module

While executing unit tests using Django's test framework I came across the problem of ``oscar.app.catalogue`` models being imported instead of the overriding models. I tracked the error down to ``oscar.test.helpers`` where importing models directly instead of using ``get_class`` or ``get_classes`` loaded the Oscar models instead of the overriding ones. I fixed this issue by replacing the hardcoded imports with the equivalent calls to ``get_class`` and ``get_classes``.