(self)
| 65 | |
| 66 | class TestGet(DBTestCase): |
| 67 | def test_get(self): |
| 68 | self.insert_row() |
| 69 | |
| 70 | band = Band.objects().get(Band.name == "Pythonistas").run_sync() |
| 71 | assert band is not None |
| 72 | |
| 73 | self.assertEqual(band.name, "Pythonistas") |
| 74 | |
| 75 | def test_get_prefetch(self): |
| 76 | self.insert_rows() |
nothing calls this directly
no test coverage detected