(self)
| 431 | model._db |
| 432 | |
| 433 | def test_parse_nonstring(self): |
| 434 | with pytest.raises(TypeError, match="must be a string"): |
| 435 | dbcore.Model._parse(None, 42) |
| 436 | |
| 437 | def test_pickle_dump(self): |
| 438 | """Tries to pickle an item. This tests the __getstate__ method |