If in the browser you get your objects this means that your view is ok, if your test does not return any object maybe you have to create them (tests make use of an empty database automatically created from the scratch by Django). I usually create sample objects in setUp() method:
class SimpleTest(TestCase):
def setUp(self):
self.poll = Poll.objects.create()