コード例 #1
0
 def test_detect_potfiles_in_module(self):
     # Find POTFILES.in in a package with POTFILES.in at different levels.
     self.prepare_package("intltool_POTFILES_in_2")
     dirs = find_potfiles_in()
     self.assertContentEqual(["./po", "./module1/po"], dirs)
コード例 #2
0
 def test_detect_potfiles_in_module(self):
     # Find POTFILES.in in a package with POTFILES.in at different levels.
     self.prepare_package("intltool_POTFILES_in_2")
     dirs = find_potfiles_in()
     self.assertContentEqual(["./po", "./module1/po"], dirs)
コード例 #3
0
 def test_detect_potfiles_in(self):
     # Find POTFILES.in in a package with multiple dirs when only one has
     # POTFILES.in.
     self.prepare_package("intltool_POTFILES_in_1")
     dirs = find_potfiles_in()
     self.assertContentEqual(["./po-intltool"], dirs)
コード例 #4
0
 def test_detect_potfiles_in(self):
     # Find POTFILES.in in a package with multiple dirs when only one has
     # POTFILES.in.
     self.prepare_package("intltool_POTFILES_in_1")
     dirs = find_potfiles_in()
     self.assertContentEqual(["./po-intltool"], dirs)