Did I find the right examples for you? yes no

All Samples(9)  |  Call(0)  |  Derive(0)  |  Import(9)
YouTube plugin for XBMC
Copyright (C) 2010-2012 Tobias Ussing And Henrik Mosgaard Jensen

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of(more...)

src/y/o/youtube-xbmc-plugin-HEAD/plugin/default.py   youtube-xbmc-plugin(Download)
    import YouTubePluginSettings
    pluginsettings = YouTubePluginSettings.YouTubePluginSettings()
    import YouTubeCore
    core = YouTubeCore.YouTubeCore()
    import YouTubeLogin

src/y/o/youtube-xbmc-plugin-HEAD/unittests/TestYouTubeCore.py   youtube-xbmc-plugin(Download)
        patcher1.start()
        patcher2.start()
        import YouTubeCore
        import urllib2
        YouTubeCore.url2request = Mock()
        patcher1.start()
        patcher2.start()
        import YouTubeCore
        import urllib2
        YouTubeCore.url2request = Mock()
        patcher1.start()
        patcher2.start()
        import YouTubeCore
        import urllib2
        YouTubeCore.url2request = Mock()
        patcher1.start()
        patcher2.start()
        import YouTubeCore
        import urllib2
        YouTubeCore.url2request = Mock()
        patcher2.start()
        patcher3.start()
        import YouTubeCore
        import urllib2
        import time

src/y/o/youtube-xbmc-plugin-HEAD/unittests/MockYouTubeDepends.py   youtube-xbmc-plugin(Download)
        import YouTubePluginSettings
        sys.modules[u"__main__"].pluginsettings = Mock(spec=YouTubePluginSettings.YouTubePluginSettings)
        import YouTubeCore
        sys.modules[u"__main__"].core = Mock(spec=YouTubeCore.YouTubeCore)
        import YouTubeLogin

src/y/o/youtube-xbmc-plugin-HEAD/integrationtests/BaseTestCase.py   youtube-xbmc-plugin(Download)
        import YouTubeStorage
        sys.modules["__main__"].storage = YouTubeStorage.YouTubeStorage()
        import YouTubeCore
        sys.modules["__main__"].core = YouTubeCore.YouTubeCore()
        sys.modules["__main__"].core.getVideoIdStatusFromCache = Mock()