(self)
| 30 | self.assertIn("Rustaceans", names) |
| 31 | |
| 32 | def test_add(self): |
| 33 | self.insert_rows() |
| 34 | |
| 35 | Band.insert().add(Band(name="Rustaceans", popularity=100)).run_sync() |
| 36 | |
| 37 | response = Band.select(Band.name).run_sync() |
| 38 | names = [i["name"] for i in response] |
| 39 | |
| 40 | self.assertIn("Rustaceans", names) |
| 41 | |
| 42 | def test_incompatible_type(self): |
| 43 | """ |