コード例 #1
0
 def test_has_filename_path(self):
     bazaar = BazaarFileSet('project', 'lp:~mailman-l10n-ca/', 'none.po')
     self.assertFalse(bazaar._has_filename())
コード例 #2
0
 def test_has_filename_filename(self):
     bazaar = BazaarFileSet(
         'project',
         'lp:~mailman-l10n-ca/mailman.po',
         'none.po')
     self.assertTrue(bazaar._has_filename())