Xqt added a comment.

  In T367939#9906156 <https://phabricator.wikimedia.org/T367939#9906156>, 
@Zache wrote:
  
  > I created a ticket T367945 <https://phabricator.wikimedia.org/T367945>  for 
superset being down. Should we modify the test or wait if it will come back up?
  
  I think it depends on how quick is it solved upstream and whether this 
problem may accur later. The tests can be modified like this to skip the test:
  
    def test_login_and_oauth_permisson(self):
        """Superset login and queries."""
        sql = 'SELECT page_id, page_title FROM page LIMIT 2;'
        site = self.get_site()
        self.assertTrue(site.logged_in())
    
        # Test login and initial site parameters
        superset = SupersetQuery(site=site)
        try:
            superset.login()
        except (ConnectionError, NoUsernameError):
            self.skipTest('Oauth permission is missing.')
        except ConnectionError as err:
            self.skipTest(err)

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Zache, Xqt, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, 
jayvdb, Masti, Alchimista, Krenair
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to