Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    ERROR: test_login_and_oauth_permission 
(__main__.TestSupersetWithAuth.test_login_and_oauth_permission) [Test 
overriding schema using site]
    Superset login and queries.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:\pwb\GIT\core\tests\superset_tests.py", line 113, in 
test_login_and_oauth_permission
        rows = superset.query(sql, site=testsite)
      File "C:\pwb\GIT\core\pywikibot\data\superset.py", line 272, in query
        token = self.get_csrf_token()
      File "C:\pwb\GIT\core\pywikibot\data\superset.py", line 178, in 
get_csrf_token
        raise ServerError(f'CSRF token error: {status_code}')
    pywikibot.exceptions.ServerError: CSRF token error: 401
    
    ======================================================================
    ERROR: test_login_and_oauth_permission 
(__main__.TestSupersetWithAuth.test_login_and_oauth_permission) [Test that 
overriding schema_name and site fails]
    Superset login and queries.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:\pwb\GIT\core\tests\superset_tests.py", line 119, in 
test_login_and_oauth_permission
        rows = superset.query(sql, schema_name='fiwiki_p', site=site)
      File "C:\pwb\GIT\core\pywikibot\data\superset.py", line 272, in query
        token = self.get_csrf_token()
      File "C:\pwb\GIT\core\pywikibot\data\superset.py", line 178, in 
get_csrf_token
        raise ServerError(f'CSRF token error: {status_code}')
    pywikibot.exceptions.ServerError: CSRF token error: 401

TASK DETAIL
  https://phabricator.wikimedia.org/T408323

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to