MCPcopy
hub / github.com/burnash/gspread / test_update_and_get

Method test_update_and_get

tests/worksheet_test.py:1458–1478  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1456
1457 @pytest.mark.vcr()
1458 def test_update_and_get(self):
1459 values = [
1460 ["A1", "B1", "", "D1"],
1461 ["", "b2", "", ""],
1462 ["", "", "", ""],
1463 ["A4", "B4", "", "D4"],
1464 ]
1465
1466 self.sheet.update(values, "A1")
1467
1468 read_data = self.sheet.get("A1:D4")
1469
1470 self.assertEqual(
1471 read_data,
1472 [
1473 ["A1", "B1", "", "D1"],
1474 ["", "b2"],
1475 [],
1476 ["A4", "B4", "", "D4"],
1477 ],
1478 )
1479
1480 @pytest.mark.vcr()
1481 def test_batch_get(self):

Callers

nothing calls this directly

Calls 2

updateMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected