def test_hidden(self): self._p = Path(relurl="a/.b.rst") assert self._p.is_hidden, "The files should show as hidden"
def setUp(self): shoebill.content_path = "/tmp/foo" self._p = Path(relurl="a/b/test.rst")
def setUp(self): shoebill.content_path = '/tmp/foo' self._p = Path(relurl='a/b/test.rst')
def test_as_url(self): p = Path(relurl="a/b/") assert p.as_url == "a/b/", p.as_url
def test_as_url(self): p = Path(relurl='a/b/') assert p.as_url == 'a/b/', p.as_url