def test_getPublicHTMLChild(self):
    '\n        L{UserDirectory.getChild} returns a L{static.File} instance when passed\n        the name of a user with a home directory containing a I{public_html}\n        directory.\n        '
    home = filepath.FilePath(self.bob[(- 2)])
    public_html = home.child('public_html')
    public_html.makedirs()
    request = DummyRequest(['bob'])
    result = self.directory.getChild('bob', request)
    self.assertIsInstance(result, static.File)
    self.assertEqual(result.path, public_html.path)
L{UserDirectory.getChild} returns a L{static.File} instance when passed
the name of a user with a home directory containing a I{public_html}
directory.
def test_getPublicHTMLChild(self):
    '\n        L{UserDirectory.getChild} returns a L{static.File} instance when passed\n        the name of a user with a home directory containing a I{public_html}\n        directory.\n        '
    home = filepath.FilePath(self.bob[(- 2)])
    public_html = home.child('public_html')
    public_html.makedirs()
    request = DummyRequest(['bob'])
    result = self.directory.getChild('bob', request)
    self.assertIsInstance(result, static.File)
    self.assertEqual(result.path, public_html.path)