(self)
| 1504 | |
| 1505 | @pytest.mark.vcr() |
| 1506 | def test_batch_update(self): |
| 1507 | self.sheet.batch_update( |
| 1508 | [ |
| 1509 | { |
| 1510 | "range": "A1:D1", |
| 1511 | "values": [["A1", "B1", "", "D1"]], |
| 1512 | }, |
| 1513 | { |
| 1514 | "range": "A4:D4", |
| 1515 | "values": [["A4", "B4", "", "D4"]], |
| 1516 | }, |
| 1517 | ] |
| 1518 | ) |
| 1519 | |
| 1520 | data = self.sheet.get("A1:D4") |
| 1521 | |
| 1522 | self.assertEqual( |
| 1523 | data, |
| 1524 | [ |
| 1525 | ["A1", "B1", "", "D1"], |
| 1526 | [], |
| 1527 | [], |
| 1528 | ["A4", "B4", "", "D4"], |
| 1529 | ], |
| 1530 | ) |
| 1531 | |
| 1532 | @pytest.mark.vcr() |
| 1533 | def test_add_protected_range_normal(self): |
nothing calls this directly
no test coverage detected