RoySmith added a comment.

  When I do this:
  
    from pywikibot.config import base_dir
    
        def test_file_exists(self):
            """Test file_exists function."""
            self.assertFalse(guf.file_exists('This file does not exist'))
            self.assertTrue(guf.file_exists(os.path.join(base_dir, 'pwb.py')))
  
  it fails because base_dir is '/Users/roy/dev/pywikibot' and pwb.py is in 
/Users/roy/dev/pywikibot/pywikibot-git.  So I guess I don't understand what's 
supposed to be happening.

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

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

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

Reply via email to