(self)
| 368 | self.assertEqual(b"hello world and mongodb", GridOut(self.db.fs, five._id).read()) |
| 369 | |
| 370 | def test_write_lines(self): |
| 371 | a = GridIn(self.db.fs) |
| 372 | a.writelines([b"hello ", b"world"]) |
| 373 | a.close() |
| 374 | |
| 375 | self.assertEqual(b"hello world", GridOut(self.db.fs, a._id).read()) |
| 376 | |
| 377 | def test_close(self): |
| 378 | f = GridIn(self.db.fs) |
nothing calls this directly
no test coverage detected