def test_find_intltool_dirs_broken(self):
     # Complete run: part of the intltool structure is broken.
     self.prepare_package("intltool_full_ok")
     os.remove("./src/module1/sourcefile1.c")
     self.assertEqual(
         ["./po-module2"], find_intltool_dirs())
Пример #2
0
 def test_find_intltool_dirs_broken(self):
     # Complete run: part of the intltool structure is broken.
     self.prepare_package("intltool_full_ok")
     os.remove("./src/module1/sourcefile1.c")
     self.assertEqual(["./po-module2"], find_intltool_dirs())
 def test_find_intltool_dirs(self):
     # Complete run: find all directories with intltool structure.
     self.prepare_package("intltool_full_ok")
     self.assertEqual(
         ["./po-module1", "./po-module2"], find_intltool_dirs())
Пример #4
0
 def test_find_intltool_dirs(self):
     # Complete run: find all directories with intltool structure.
     self.prepare_package("intltool_full_ok")
     self.assertEqual(["./po-module1", "./po-module2"],
                      find_intltool_dirs())