def test_svnurl(self):
p = path.svnurl('http://codespeak.net/svn/py')
assert p.check(svnurl=1)
-> self.repr_eval_test(p)
def repr_eval_test(self, p):
r = repr(p)
from py.path import local,svnurl, svnwc
y = eval(r)
-> assert y == p