'enable_tasks action should enable selected periodic tasks'

def test_enable_tasks_should_enable_disabled_periodic_tasks(self):

    (PeriodicTask.objects.create(name=u'Killer    Queen', task=u'killer_queen', interval=self.interval, enabled=False),)
    queryset = PeriodicTask.objects.filter(pk=1)
    last_update = PeriodicTasks.objects.get(ident=1).last_update
    self.pt_admin.enable_tasks(request, queryset)
    new_last_update = PeriodicTasks.objects.get(ident=1).last_update
    self.assertTrue(PeriodicTask.objects.get(pk=1).enabled)
    self.assertNotEqual(last_update, new_last_update)
