def config(): ''' Returns a fully loaded configuration dict ''' con = Config( os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) con.from_object('charpe.settings') return con
def config(): ''' Returns a fully loaded configuration dict ''' con = Config( os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) con.from_object('cacahuate.settings') con.from_mapping(TESTING_SETTINGS) return con