Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/f/r/freesound-HEAD/tickets/tests.py   freesound(Download)
from django.test import TestCase, Client
from django.core.urlresolvers import reverse
from models import Ticket, Queue, LinkedContent
from django.contrib.auth.models import User, Group
from tickets import QUEUE_BUG_REPORTS, QUEUE_MANAGEMENT, \
        ticket.queue = Queue.objects.get(name=QUEUE_SOUND_MODERATION)
        ticket.save()
        lc = LinkedContent()
        # just to test, this would be a sound object for example
        lc.content_object = User.objects.get(username='test_admin')