(db: TinyDB)
| 100 | |
| 101 | |
| 102 | def test_insert_multiple_with_ids(db: TinyDB): |
| 103 | db.drop_tables() |
| 104 | |
| 105 | # Insert multiple from list |
| 106 | assert db.insert_multiple([{'int': 1, 'char': 'a'}, |
| 107 | {'int': 1, 'char': 'b'}, |
| 108 | {'int': 1, 'char': 'c'}]) == [1, 2, 3] |
| 109 | |
| 110 | |
| 111 | def test_insert_multiple_with_doc_ids(db: TinyDB): |
nothing calls this directly
no test coverage detected
searching dependent graphs…