I have a function as
def getEvents(eid, request): ......
Now I want to write unit test for the above function separately (without calling the view). So how should I call the above in TestCase. Is it possible to create request ?
TestCase