'Test page with login at /services/ticket/add/queue/(?P<queue_id>\d+)'

def test_ticket_add_by_queue(self):

    response = self.client.post('/accounts/login', {'username': self.username, 'password': self.password})
    self.assertRedirects(response, '/')
    response = self.client.get(reverse('services_ticket_add_by_queue', args=[self.queue.id]))
    self.assertEquals(response.status_code, 200)
