<s> from mockito import mock <EOL> def patch_gpod_module ( ) : <EOL> module = mock ( ) <EOL> module . Track = None <EOL> module . Database = None <EOL> import sys <EOL> sys . modules [ '<STR_LIT>' ] = module <EOL> return module <EOL> class Internal ( object ) : <EOL> _itdb = None <EOL> def __init__ ( self , foo = None ) : <EOL> self . data = foo <EOL> def __iter__ ( self ) : <EOL> return iter ( self . data ) <EOL> def __getitem__ ( self , name ) : <EOL> return self . data . __getitem__ ( name ) <EOL> def __setitem__ ( self , name , value ) : <EOL> return self . data . __setitem__ ( name , value ) <EOL> def get ( self , name , default = None ) : <EOL> return self . data . get ( name , default ) <EOL> def ipod_filename ( self ) : <EOL> return self . data . get ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> @ property <EOL> def Playlists ( self ) : <EOL> return [ ] </s>
