def testLocalFile(self): f = File('repos/pardus-2007/system/base/curl/pspec.xml', File.read) r = f.readlines() assert (len(r) > 0)
def testRemoteRead(self): f = File( 'http://www.pardus.org.tr/urunler/pardus-2009.2-Geronticus_eremita-surum-notlari-tr.html', File.read) r = f.readlines() assert (len(r) > 0)
def testRemoteRead(self): f = File('http://www.gnu.org/licenses/gpl2.txt', File.read) r = f.readlines() assert (len(r) > 0)
def testRemoteRead(self): f = File("http://uludag.org.tr/haberler/rootfs0.2.html", File.read) x = f.readlines() self.assert_(len(x)>0)
def testRemoteRead(self): f = File('http://www.pardus.org.tr/urunler/pardus-2009.2-Geronticus_eremita-surum-notlari-tr.html', File.read) r = f.readlines() assert (len(r) > 0)
def testLocalFile(self): f = File("tests/popt/pspec.xml", File.read) x = f.readlines() self.assert_(len(x)>0)
def testRemoteRead(self): f = File("https://github.com/examachine/pisi/wiki", File.read) x = f.readlines() self.assert_(len(x)>0)
def testRemoteRead(self): f = File('http://uludag.org.tr/bulten/index.html', File.read) r = f.readlines() assert (len(r) > 0)