def testCopyi18n(self):
     cdrom = AptCdrom(None, "./test-data-cdrom")
     (p,s,i18n) = cdrom._scanCD()
     p = cdrom._dropArch(p)
     d=tempfile.mkdtemp()
     cdrom._copyTranslations(i18n, d)
     self.assert_(os.path.exists(os.path.join(d,"Ubuntu%208.10%20%5fIntrepid%20Ibex%5f%20-%20Beta%20amd64%20(20080930.4)_dists_intrepid_main_i18n_Translation-be")),
                                              "no outfile in '%s'" % os.listdir(d))