Made _getPickData more generic by supporting ordening
As such, renamed it to _getData.
Also use a more robust way to represent the filter in case it
contains entities.
Patch by: Sverre Rabbelier
"""
Django Unit Test and Doctest framework.
"""
from django.test.client import Client
from django.test.testcases import TestCase