def setup(): configure(scopes=OAUTHIST_SCOPES) client = Client(CLIENT_ID, client_type='web', client_secret=CLIENT_SECRET, redirect_urls=REDIRECT_URLS, name='Test Client') client.save()
def setup_module(): scopes = ['user_ro', 'user_rw', 'projects_ro', 'projects_rw'] oauthist.configure(scopes=scopes)