tests/test_WikiPush.py
def testQuery(self):
        '''
        https://github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/10
        Query support for page selection
        '''
        if getpass.getuser()=="travis":
            return
        wp=WikiPush("smwcopy","test")
        pages=wp.query("[[Capital of::+]]")
        if self.debug:
            print (pages)
        self.assertTrue(len(pages)>=5)
        self.assertTrue("Demo:Berlin" in pages)

        https://github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/10
        Query support for page selection
        
github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/10
Query support for page selection
github . com / WolfgangFahl / py - 3rdparty - mediawiki / issues / 10 Query support for page selection
def testQuery(self):
        if getpass.getuser()=="travis":
            return
        wp=WikiPush("smwcopy","test")
        pages=wp.query("[[Capital of::+]]")
        if self.debug:
            print (pages)
        self.assertTrue(len(pages)>=5)
        self.assertTrue("Demo:Berlin" in pages)
def testQuery ( self ) : if getpass . getuser ( ) == "travis" : return wp = WikiPush ( "smwcopy" , "test" ) pages = wp . query ( "[[Capital of::+]]" ) if self . debug : print ( pages ) self . assertTrue ( len ( pages ) >= 5 ) self . assertTrue ( "Demo:Berlin" in pages )
https://github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/10
Query support for page selection
https : // github . com / WolfgangFahl / py - 3rdparty - mediawiki / issues / 10 Query support for page selection
'''
        https://github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/10
        Query support for page selection
        '''
self