<s> """<STR_LIT>""" <EOL> import mox <EOL> import stubout <EOL> from google . apputils import app <EOL> from google . apputils import basetest <EOL> from simian . mac . models import settings <EOL> class SettingsModuleTest ( mox . MoxTestBase ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> mox . MoxTestBase . setUp ( self ) <EOL> self . stubs = stubout . StubOutForTesting ( ) <EOL> def tearDown ( self ) : <EOL> self . mox . UnsetStubs ( ) <EOL> self . stubs . UnsetAll ( ) <EOL> class SettingsTest ( mox . MoxTestBase ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> mox . MoxTestBase . setUp ( self ) <EOL> self . stubs = stubout . StubOutForTesting ( ) <EOL> def tearDown ( self ) : <EOL> self . mox . UnsetStubs ( ) <EOL> self . stubs . UnsetAll ( ) <EOL> def testGetSettingsType ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( settings . Settings . GetType ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( <EOL> settings . Settings . GetType ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( settings . Settings . GetType ( '<STR_LIT>' ) , None ) <EOL> self . assertEqual ( settings . Settings . GetType ( '<STR_LIT>' ) , '<STR_LIT:string>' ) <EOL> def main ( unused_argv ) : <EOL> basetest . main ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> app . run ( ) </s>
