Example #1
0
 def testLocalFile(self):
     f = File('repos/pardus-2007/system/base/curl/pspec.xml', File.read)
     r = f.readlines()
     assert (len(r) > 0)
Example #2
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)
Example #3
0
 def testLocalFile(self):
     f = File('repos/pardus-2007/system/base/curl/pspec.xml', File.read)
     r = f.readlines()
     assert (len(r) > 0)
Example #4
0
 def testRemoteRead(self):
     f = File('http://www.gnu.org/licenses/gpl2.txt', File.read)
     r = f.readlines()
     assert (len(r) > 0)
Example #5
0
 def testRemoteRead(self):
     f = File("http://uludag.org.tr/haberler/rootfs0.2.html", File.read)
     x = f.readlines()
     self.assert_(len(x)>0)
Example #6
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)
Example #7
0
 def testLocalFile(self):
     f = File("tests/popt/pspec.xml", File.read)
     x = f.readlines()
     self.assert_(len(x)>0)
Example #8
0
 def testRemoteRead(self):
     f = File("https://github.com/examachine/pisi/wiki", File.read)
     x = f.readlines()
     self.assert_(len(x)>0)
Example #9
0
 def testLocalFile(self):
     f = File("tests/popt/pspec.xml", File.read)
     x = f.readlines()
     self.assert_(len(x)>0)
Example #10
0
 def testRemoteRead(self):
     f = File('http://uludag.org.tr/bulten/index.html', File.read)
     r = f.readlines()
     assert (len(r) > 0)
Example #11
0
 def testRemoteRead(self):
     f = File('http://www.gnu.org/licenses/gpl2.txt', File.read)
     r = f.readlines()
     assert (len(r) > 0)