def test_30_files(self):
        b = self.repo.get_root()['b']
        g = b.create_directory('g')
        for c in xrange(30):
            f = g.create_file('f_%d' % c)
            f.write_data('file contents %d' % c, 0)

        repo2 = GitStorage(self.repo_path)
        g2 = repo2.get_root()['b']['g']
        for c in xrange(30):
            f2 = g2['f_%d' % c]
            self.assertEqual(f2._read_all_data(), 'file contents %d' % c)
dataset/ETHPy150Open mgax/SpaghettiFS/spaghettifs/tests/test_storage.py/BackendTestCase.test_30_files/original