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)
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)