예제 #1
0
 def test_hidden(self):
     self._p = Path(relurl="a/.b.rst")
     assert self._p.is_hidden, "The files should show as hidden"
예제 #2
0
 def setUp(self):
     shoebill.content_path = "/tmp/foo"
     self._p = Path(relurl="a/b/test.rst")
예제 #3
0
 def setUp(self):
     shoebill.content_path = '/tmp/foo'
     self._p = Path(relurl='a/b/test.rst')
예제 #4
0
 def test_as_url(self):
     p = Path(relurl="a/b/")
     assert p.as_url == "a/b/", p.as_url
예제 #5
0
 def test_as_url(self):
     p = Path(relurl='a/b/')
     assert p.as_url == 'a/b/', p.as_url