def test_path(self):
        """
        The I{--path} option causes L{Options} to create a root resource
        which serves responses from the specified path.
        """
        path, root = self._pathOption()
        self.assertIsInstance(root, File)
        self.assertEqual(root.path, path.path)

        The I{--path} option causes L{Options} to create a root resource
        which serves responses from the specified path.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_tap.py