def test__define_endpoint(): api = staccato.startup() api.auth(os.environ["CONSUMER_KEY"], os.environ["CONSUMER_SECRET"], os.environ["ACCESS_TOKEN_KEY"], os.environ["ACCESS_TOKEN_SECRET"]) assert True == True # dummy
def api(): conf = import_configurations("~/.staccato.conf")['OAuth1Settings'] api = staccato.startup() api.auth(conf["CONSUMER_KEY"], conf["CONSUMER_SECRET"], conf["ACCESS_TOKEN_KEY"], conf["ACCESS_TOKEN_SECRET"]) return api