Did I find the right examples for you? yes no

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/d/j/django-lifestreams-0.1.0/lifestreams/plugins/lifestream_instagram/tests.py   django-lifestreams(Download)
 
from .plugin import InstagramPlugin, InstagramHandler
from .models import InstagramFeed, ItemMedia
 
 
    def test_get_handler_call_handler(self, InstagramHandler):
        access_token = 'access_token'
        instagram_feed = InstagramFeed(feed=self.feed, access_token=access_token)
        instagram_feed.save()
        plugin = InstagramPlugin(feed=self.feed)
    def test_create_item(self, get_handler, get_update_kwargs):
        access_token = 'access_token'
        instagram_feed = InstagramFeed(feed=self.feed, access_token=access_token)
        instagram_feed.save()
        handler = get_handler.return_value
    def test_create_item_caption_none(self, get_handler, get_update_kwargs):
        access_token = 'access_token'
        instagram_feed = InstagramFeed(feed=self.feed, access_token=access_token)
        instagram_feed.save()
        handler = get_handler.return_value
    def test_get_update_kwargs_with_item(self):
        access_token = 'access_token'
        instagram_feed = InstagramFeed(feed=self.feed, access_token=access_token)
        instagram_feed.save()
        item1 = self.feed.items.create(content='a', author='a', published=now())

src/d/j/django-lifestreams-0.1.0/lifestreams/plugins/lifestream_instagram/plugin.py   django-lifestreams(Download)
from lifestreams.exceptions import FeedNotConfiguredException, FeedErrorException
 
from .models import InstagramFeed, ItemMedia
 
__all__ = ['InstagramPlugin', 'InstagramHandler']

src/d/j/django-lifestreams-0.1.0/lifestreams/plugins/lifestream_instagram/admin.py   django-lifestreams(Download)
from django.contrib import admin
 
from .models import InstagramFeed, ItemMedia