Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
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 YouTubeCore
    core = YouTubeCore.YouTubeCore()
    import YouTubeLogin
    login = YouTubeLogin.YouTubeLogin()
    import YouTubeFeeds

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

src/y/o/youtube-xbmc-plugin-HEAD/integrationtests/BaseTestCase.py   youtube-xbmc-plugin(Download)
        sys.modules["__main__"].core.getVideoIdStatusFromCache = Mock()
        sys.modules["__main__"].core.getVideoIdStatusFromCache.return_value = []
        import YouTubeLogin
        sys.modules["__main__"].login = YouTubeLogin.YouTubeLogin()
        import YouTubeFeeds