Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/j/django-stream-0.2.4/stream/tests.py   django-stream(Download)
    def test_get_for_actor(self):
        Action.objects.create(self.lennon, 'follow', self.morrison)
        Action.objects.create(self.lennon, 'follow', self.hendrix)
 
        actions = Action.objects.get_for_actor(self.lennon)

src/d/j/django-stream-HEAD/stream/tests.py   django-stream(Download)
    def test_get_for_actor(self):
        Action.objects.create(self.lennon, 'follow', self.morrison)
        Action.objects.create(self.lennon, 'follow', self.hendrix)
 
        actions = Action.objects.get_for_actor(self.lennon)