Example #1
0
 def test_filepath(self):
     r = Cache()
     base = 'http://www.abc.org/'
     in1 = base + 'xyz'
     out = r.filepath(in1)
     # ./xyz
     assert out.endswith('xyz'), out
Example #2
0
 def test_filepath(self):
     r = Cache()
     base = 'http://www.abc.org/'
     in1 = base + 'xyz'
     out = r.filepath(in1)
     # ./xyz
     assert out.endswith('xyz'), out