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

Method test_equality

tests/cell_test.py:44–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42
43 @pytest.mark.vcr()
44 def test_equality(self):
45 sg = self._sequence_generator()
46 update_value = next(sg)
47 self.sheet.update_acell("A1", update_value)
48 cell = self.sheet.acell("A1")
49 same_cell = self.sheet.cell(1, 1)
50 self.assertEqual(cell, same_cell)
51 self.sheet.update_acell("A2", update_value)
52 another_cell = self.sheet.acell("A2")
53 self.assertNotEqual(cell, another_cell)
54 self.sheet.update_acell("B1", update_value)
55 another_cell = self.sheet.acell("B1")
56 self.assertNotEqual(cell, another_cell)
57
58 @pytest.mark.vcr()
59 def test_numeric_value(self):

Callers

nothing calls this directly

Calls 4

_sequence_generatorMethod · 0.80
update_acellMethod · 0.80
acellMethod · 0.80
cellMethod · 0.80

Tested by

no test coverage detected