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

Method test_copy

tests/client_test.py:66–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64
65 @pytest.mark.vcr()
66 def test_copy(self):
67 original_spreadsheet = self.spreadsheet
68 spreadsheet_copy = self.gc.copy(original_spreadsheet.id)
69 self.assertIsInstance(spreadsheet_copy, gspread.Spreadsheet)
70
71 original_metadata = original_spreadsheet.fetch_sheet_metadata()
72 copy_metadata = spreadsheet_copy.fetch_sheet_metadata()
73 self.assertEqual(original_metadata["sheets"], copy_metadata["sheets"])
74
75 @pytest.mark.vcr()
76 def test_import_csv(self):

Callers

nothing calls this directly

Calls 2

copyMethod · 0.80
fetch_sheet_metadataMethod · 0.45

Tested by

no test coverage detected