aaron-schroeder / distilling-flask

Strava app for display and analysis of personal running data, powered by Flask, Dash, and Pandas.
MIT License
3 stars 0 forks source link

AuthenticatedUserFunctionalTest: spoof strava auth interactions #65

Open aaron-schroeder opened 1 year ago

aaron-schroeder commented 1 year ago

I keep getting locked out of my strava account because I accept permissions over and over during functional tests. Let's have the test user start out authorized, with a token in the database. There should be only one test hitting the strava auth screen.

I think this will involve modifying the app that's running in the other thread, or at least the state of its in-memory database.

I think stravalib has implemented something like this; check over there.