'Test Services models'

def test_model(self):

    status = TicketStatus(name='TestStatus')
    status.save()
    self.assertNotEquals(status.id, None)
    queue = TicketQueue(name='TestQueue', default_ticket_status=status)
    queue.save()
    self.assertNotEquals(status.id, None)
    ticket = Ticket(name='TestTicket', status=status, queue=queue)
    ticket.save()
    self.assertNotEquals(ticket.id, None)
    ticket.delete()
    queue.delete()
    status.delete()
