def test_validFiles(self):
        """
        Make sure that we can read existent non-empty files.
        """
        f1 = self.path.child(b'file1')
        with f1.open() as f:
            self.assertEqual(f.read(), self.f1content)
        f2 = self.path.child(b'sub1').child(b'file2')
        with f2.open() as f:
            self.assertEqual(f.read(), self.f2content)

        Make sure that we can read existent non-empty files.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_paths.py