Lines Matching refs:localpath
2272 self.assertEqual(ud.localpath, os.path.join(self.dldir, "git2", ref['gitsrcname']))
2328 self.assertTrue(os.path.exists(ud.localpath))
2329 self.assertTrue(os.path.exists(ud.localpath + '.done'))
2343 self.assertTrue(os.path.exists(ud.localpath))
2346 with open(ud.localpath, 'wb') as f:
2351 self.assertTrue(os.path.exists(ud.localpath + '_bad-checksum_' + badsum))
2352 self.assertTrue(os.path.exists(ud.localpath))
2362 self.assertTrue(os.path.exists(ud.localpath))
2374 self.assertFalse(os.path.exists(ud.localpath))
2382 self.assertTrue(os.path.exists(ud.localpath))
2392 self.assertTrue(os.path.exists(ud.localpath))
2396 mirrorfilename = os.path.join(mirrordir, os.path.basename(ud.localpath))
2397 os.replace(ud.localpath, mirrorfilename)
2401 self.assertFalse(os.path.exists(ud.localpath))
2403 self.assertTrue(os.path.exists(ud.localpath))
2413 self.assertTrue(os.path.exists(ud.localpath))
2417 os.replace(ud.localpath, os.path.join(mirrordir, os.path.basename(ud.localpath)))
2427 self.assertFalse(os.path.exists(ud.localpath))
2429 self.assertTrue(os.path.exists(ud.localpath))
2710 localpath = os.path.join(self.dldir, 'npm2', 'array-flatten-1.1.1.tgz')
2711 self.assertTrue(os.path.exists(localpath))
2714 with open(localpath, 'wb') as f:
2719 self.assertTrue(os.path.exists(localpath + '_bad-checksum_' + badsum))
2720 self.assertTrue(os.path.exists(localpath))
2729 self.assertTrue(os.path.exists(ud.localpath))
2733 os.replace(ud.localpath, os.path.join(mirrordir, os.path.basename(ud.localpath)))
2737 self.assertFalse(os.path.exists(ud.localpath))
2749 self.assertTrue(os.path.exists(ud.localpath))
2758 self.assertTrue(os.path.exists(ud.localpath))
2762 os.replace(ud.localpath, os.path.join(mirrordir, os.path.basename(ud.localpath)))
2765 self.assertFalse(os.path.exists(ud.localpath))
2777 self.assertTrue(os.path.exists(ud.localpath))