(db: TinyDB)
| 44 | |
| 45 | |
| 46 | def test_insert_ids(db: TinyDB): |
| 47 | db.drop_tables() |
| 48 | assert db.insert({'int': 1, 'char': 'a'}) == 1 |
| 49 | assert db.insert({'int': 1, 'char': 'a'}) == 2 |
| 50 | |
| 51 | |
| 52 | def test_insert_with_doc_id(db: TinyDB): |
nothing calls this directly
no test coverage detected
searching dependent graphs…